After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 605683 - gnome-python-extras: egg.trayicon doesn't set transparent background
gnome-python-extras: egg.trayicon doesn't set transparent background
Status: RESOLVED WONTFIX
Product: gnome-python-extras
Classification: Deprecated
Component: egg
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
gnome[unmaintained]
Depends on:
Blocks:
 
 
Reported: 2009-12-29 17:37 UTC by Takao Fujiwara
Modified: 2014-08-02 13:04 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
sample program to reproduce the problem (2.75 KB, application/octet-stream)
2009-12-29 17:37 UTC, Takao Fujiwara
  Details
Patch for gnome-python-extras/ eggtrayicon.[c,h] (8.40 KB, patch)
2009-12-29 17:39 UTC, Takao Fujiwara
none Details | Review

Description Takao Fujiwara 2009-12-29 17:37:13 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.
Comment 1 Takao Fujiwara 2009-12-29 17:39:30 UTC
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.
Comment 2 André Klapper 2014-08-02 13:04:18 UTC
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.