Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for avatar image not being saved in disk cache on GTK version #576

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Open

Conversation

sudaraka
Copy link

Symptom

Avatar icon in the desktop notification (libnotify) of GTK version was missing.

Cause

Save to disk operation was aborted due to an exception in the get_prefs
function on agent.py, as it was trying to fetch a non-existing element
(proxy_type) from config.settings dictionary.

Solution

Check if the key exists in the dictrionary before using it, and return an empty
string if not.

== Symptom

Avatar icon in the desktop notification (libnotify) of GTK version was missing.

== Cause

Save to disk operation was aborted due to an exception in the `get_prefs`
function on agent.py, as it was trying to fetch a non-existing element
(proxy_type) from config.settings dictionary.

== Solution

Check if the key exists in the dictrionary before using it, and return an empty
string if not.
@ghost ghost assigned lyricat Oct 22, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants