prevent traceback when notification daemon doesn't support GetCapabilities. Fixed #5015

This commit is contained in:
Yann Leboulanger 2009-05-18 16:17:14 +02:00
parent c48f4c409f
commit b2e0e4cc86
1 changed files with 2 additions and 0 deletions

View File

@ -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):