Package: python-notify
Version: 0.1.0-2.1
Severity: normal
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Notifications generated using the python bindings of libnotify suffer from not
being able to display any icon within them. Try the following short testcase:
- ---
#!/usr/bin/python
import gtk, pynotify
pynotify.init("test")
n = pynotify.Notification("Foo", "Bar")
p = gtk.gdk.pixbuf_new_from_file("icon.png")
n.set_icon_from_pixbuf(p)
n.show()
- ---
(Keep in mind that I know almost nothing about Python; I wrote the script above
from existing code and thanks to the good readability of Python code.)
The notification appears, but the (existing and readable) icon.png is not being
shown. So far noone else could really confirm this so I’d like to know what’s
wrong here. Everything works using the notify-send binary from the libnotify-bin
package.
- -- System Information:
Debian Release: 4.0
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-k7
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to de_DE.UTF-8)
Versions of packages python-notify depends on:
ii libnotify1 0.4.3-1 sends desktop notifications to a n
ii python 2.4.4-2 An interactive high-level object-o
ii python-gtk2 2.8.6-8 Python bindings for the GTK+ widge
ii python-support 0.5.6 automated rebuilding support for p
python-notify recommends no packages.
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFFy0McYfUFJ3ewsJgRAn9qAJ97sR5B7VJwEWFD4UbhWa4iUAaCJACdFN7o
QBs9qN8E7OsmO7fYziCyC+A=
=EBRM
-----END PGP SIGNATURE-----