From b2e0e4cc862e1d1d2f1b2db82990a6fd1800a643 Mon Sep 17 00:00:00 2001
From: Yann Leboulanger <asterix@lagaule.org>
Date: Mon, 18 May 2009 16:17:14 +0200
Subject: [PATCH] prevent traceback when notification daemon doesn't support
 GetCapabilities. Fixed #5015

---
 src/notify.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/notify.py b/src/notify.py
index 66fcfc4ac0..b0675057fc 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):
-- 
GitLab