Broken support for transparent gnome-panel

Bug #627298 reported by pablo.t89
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gmixer
New
Undecided
Unassigned

Bug Description

The tray icon is implemented as gtktrayicon.TrayIcon, which seems quite similar to the TrayIcon class from the python-gnome-extras (egg). However, there is a known bug about that tray icon implementation - when the gnome-panel is transparent or has a background image, there is no transparency in the displayed icon - the rectangle in the system color is visible instead (the similar bug was widely discussed in case of other programs at https://bugs.launchpad.net/ubuntu/+source/banshee/+bug/403135 , sample screenshot here: http://launchpadlibrarian.net/32111146/Pidgin-non-transparent.png ).
The easiest solution is to use gtk.StatusIcon, which is recommended and provides the whole functionality of gtk.Image + gtk.EventBox + gtktrayicon.TrayIcon. That solves the bug and makes the code shorter.

Revision history for this message
pablo.t89 (pablo.t89) wrote :
Revision history for this message
leigh123linux (leigh123linux-deactivatedaccount) wrote :

Thank you for your patch.

It nearly solves the issue apart from when you left click it with the mouse, the volume sliders don't appear in the right place i.e they should be under the trayicon.

http://leigh123linux.fedorapeople.org/pub/screenshots/gmixer.jpg

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.