summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@localhost.localdomain>2009-11-20 11:19:25 +0100
committerJiri Moskovcak <jmoskovc@localhost.localdomain>2009-11-20 11:19:25 +0100
commit47adbc71583d773d2c5c5f464b4c1583f92f9acc (patch)
tree0fd74ad6580014023aba821db7fc595177f322ed
parenta771022db2aec3c73532fe33874b00fd84c25d3a (diff)
downloadabrt-47adbc71583d773d2c5c5f464b4c1583f92f9acc.tar.gz
abrt-47adbc71583d773d2c5c5f464b4c1583f92f9acc.tar.xz
abrt-47adbc71583d773d2c5c5f464b4c1583f92f9acc.zip
GUI: survive if g-k access is denied rhbz#534171
- if gnome keyring is password protected abrt asks for unlock it, when you hit cancel on open gnome keyring you will got this crash.
-rw-r--r--src/Gui/ConfBackend.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Gui/ConfBackend.py b/src/Gui/ConfBackend.py
index c7b0450d..c5ec597f 100644
--- a/src/Gui/ConfBackend.py
+++ b/src/Gui/ConfBackend.py
@@ -52,6 +52,8 @@ class ConfBackendGnomeKeyring(ConfBackend):
except gkey.NoMatchError:
# nothing found
pass
+ except gkey.DeniedError:
+ print _("Acces to gnome-keyring has been denied, plugins settings won't be saved.")
# delete all items containg "AbrtPluginInfo":<plugin_name>, so we always have only 1 item per plugin
for item in item_list: