avoid draw seperate bg color in some gtk themes for trayicon eventbox
This commit is contained in:
parent
990a7f62d7
commit
7a8690904e
1 changed files with 2 additions and 0 deletions
|
@ -315,6 +315,8 @@ class Systray:
|
||||||
if not self.t:
|
if not self.t:
|
||||||
self.t = trayicon.TrayIcon('Gajim')
|
self.t = trayicon.TrayIcon('Gajim')
|
||||||
eb = gtk.EventBox()
|
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)
|
eb.connect('button-press-event', self.on_clicked)
|
||||||
self.set_tooltip()
|
self.set_tooltip()
|
||||||
self.img_tray = gtk.Image()
|
self.img_tray = gtk.Image()
|
||||||
|
|
Loading…
Add table
Reference in a new issue