[pkg-fso-commits] [SCM] openmoko panel plugin branch, debian, updated. debian/0.5-1.1-3-g26dc971

Joachim Breitner mail at joachim-breitner.de
Wed Nov 5 17:03:33 UTC 2008


The following commit has been merged in the debian branch:
commit f49ce687a5f656042c50173f44ff8ab93e8207f3
Author: Joachim Breitner <mail at joachim-breitner.de>
Date:   Wed Nov 5 18:01:16 2008 +0100

    Avoid traceback when no notification-daemon is installed

diff --git a/debian/changelog b/debian/changelog
index 902d986..b8ad124 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+openmoko-panel-plugin (0.5-1.2) UNRELEASED; urgency=low
+
+  * Avoid traceback when no notification-daemon is installed
+
+ -- Joachim Breitner <nomeata at debian.org>  Wed, 05 Nov 2008 18:00:43 +0100
+
 openmoko-panel-plugin (0.5-1.1) pkg-fso; urgency=low
 
   * Fixing setup.py to ship all png files
diff --git a/openmoko-panel-plugin b/openmoko-panel-plugin
index 4493e31..56f3fe9 100755
--- a/openmoko-panel-plugin
+++ b/openmoko-panel-plugin
@@ -566,8 +566,9 @@ class GSMIcon( PowerStateIcon ):
                 sendNofication = True
 
         if (sendNofication):
-            self.gsmStatusChanged = True
-            self.sendNotification()
+            if (notificationAvailable):
+                self.gsmStatusChanged = True
+                self.sendNotification()
 
         self.updateIcon()
     

-- 
openmoko panel plugin



More information about the pkg-fso-commits mailing list