[pkg-fso-maint] openmoko-panel-plugin and notifications

Christian Adams morlac at morlac.de
Thu Nov 6 09:26:09 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

ok - another patch
line 33:
- -notificationAvailable = False
- -try:
- -    import pynotify
- -    pynotify.init("panel-plugin")
- -    notificationAvailable = True
- -except:
- -    notificationAvailable = False
+notificationAvailable = False
+try:
+    import pynotify
+    pynotify.init("panel-plugin")
+
+    info = pynotify.get_server_info()
+
+    if (info is not None):
+        notificationAvailable = True
+except:
+    notificationAvailable = False

regarding the segfault i for now don't have an idea yet

ciao,
	christian (morlac) adams
- --
- -----BEGIN CONTACT BLOCK-----
   eMail:	morlac at morlac.de
   Jabber:	morlac at skavaer.homelinux.org
- ------END CONTACT BLOCK------

- -----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS$/IT;d-;s:;a?;C++(+++)>++++;UL++++;P++(+++)>++++;
L++(+++);E---;W++;N(+);o?;K?;!w;!O;!M+>;!V;PS(+);PE;
Y+;PGP++;t+(++);5(+)>++;X(+);R*;tv->+;b++(+++);DI++;
D++(+++)>++++;G(+)>++;e+>+++;h-()>++;r++;y++;
- ------END GEEK CODE BLOCK------

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iD8DBQFJErgxr81gVylJyzERAryKAJ4zAPRVORsYODQO80ufLx4onuDMqwCgkgGq
ZHay71HP4fd3AgWoogZ4EOY=
=iX0K
-----END PGP SIGNATURE-----



More information about the pkg-fso-maint mailing list