avoid draw seperate bg color in some gtk themes for trayicon eventbox

This commit is contained in:
Nikos Kouremenos 2005-07-30 10:06:58 +00:00
parent 990a7f62d7
commit 7a8690904e
1 changed files with 2 additions and 0 deletions

View File

@ -315,6 +315,8 @@ class Systray:
if not self.t:
self.t = trayicon.TrayIcon('Gajim')
eb = gtk.EventBox()
# avoid draw seperate bg color in some gtk themes
eb.set_visible_window(False)
eb.connect('button-press-event', self.on_clicked)
self.set_tooltip()
self.img_tray = gtk.Image()