Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann Leboulanger <asterix@lagaule.org>2009-05-18 18:17:14 +0400
committerYann Leboulanger <asterix@lagaule.org>2009-05-18 18:17:14 +0400
commitb2e0e4cc862e1d1d2f1b2db82990a6fd1800a643 (patch)
tree414a2f9403a48103bedfdf787ed7e5ce2948600b
parentc48f4c409f0b7681cb7734ba90d9e2675db7d44a (diff)
prevent traceback when notification daemon doesn't support GetCapabilities. Fixed #5015
-rw-r--r--src/notify.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/notify.py b/src/notify.py
index 66fcfc4ac..b0675057f 100644
--- a/src/notify.py
+++ b/src/notify.py
@@ -544,6 +544,8 @@ class DesktopNotification:
self.attempt_notify()
else:
self.capabilities = self.notif.GetCapabilities()
+ if self.capabilities is None:
+ self.capabilities = ['actions']
self.get_version()
def attempt_notify(self):