[pkg-fso-commits] [SCM] openmoko panel plugin branch, debian, updated. debian/0.5-1.2-2-gc6d44f6
Joachim Breitner
mail at joachim-breitner.de
Thu Nov 6 14:31:18 UTC 2008
The following commit has been merged in the debian branch:
commit b3019d4a87d3923a8afd938ea14ec4b89a5e1700
Author: Joachim Breitner <mail at joachim-breitner.de>
Date: Thu Nov 6 15:15:27 2008 +0100
Next try at handling a missing notification daemon (patch by morlac)
diff --git a/openmoko-panel-plugin b/openmoko-panel-plugin
index 56f3fe9..2c33b5b 100755
--- a/openmoko-panel-plugin
+++ b/openmoko-panel-plugin
@@ -34,7 +34,11 @@ notificationAvailable = False
try:
import pynotify
pynotify.init("panel-plugin")
- notificationAvailable = True
+
+ info = pynotify.get_server_info()
+
+ if (info is not None):
+ notificationAvailable = True
except:
notificationAvailable = False
--
openmoko panel plugin
More information about the pkg-fso-commits
mailing list