GNOME Bugzilla – Bug 605683
gnome-python-extras: egg.trayicon doesn't set transparent background
Last modified: 2014-08-02 13:04:18 UTC
Created attachment 150542 [details] sample program to reproduce the problem I need a custom StatusIcon using egg.trayicon because I need to acess GtkImage widget in StatusIcon. But when I use egg.trayicon, the background image is not drawn. This problem does not happen when I use gtk.GtkStatusIcon directly. To reproduce: 1. Right click on gnome-panel top panel and choose [Property] and launch [Panel Property] dialog. 2. Select [Background] tab in the dialog, and choose a background image. e.g. /usr/share/pixmaps/gnome-background-pattern.png 3. Run an attaching sample program (test.py). Then the background image in egg.trayicon is not drawn.
Created attachment 150543 [details] [review] Patch for gnome-python-extras/ eggtrayicon.[c,h] Attaching the patch to fix this problem. I copied the codes from gtk.StatusIcon to egg.trayicon. The fix needs to set the correct colormap and cairo background.
The last gnome-python-extras code changes took place in April 2011: https://git.gnome.org/browse/archive/gnome-python-extras/log/ This project is not under active development anymore. This project got recently archived in GNOME Git. It is currently unlikely that there will be any further active development. Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect reality. Please feel free to reopen this bug report in the future if anyone takes the responsibility for active development again. If you are interested in maintainership, inform https://mail.gnome.org/mailman/listinfo/desktop-devel-list gnome-python-extras wrapped application and library API in GNOME 2. For Python in GNOME 3, see https://wiki.gnome.org/Projects/PyGObject and its gobject-introspection approach.