tooltips object must not be destroyed
This commit is contained in:
parent
f8979c3719
commit
aab188b4f9
|
@ -1232,8 +1232,8 @@ class systray:
|
||||||
self.plugin = plugin
|
self.plugin = plugin
|
||||||
self.jids = []
|
self.jids = []
|
||||||
t = trayicon.TrayIcon("Gajim")
|
t = trayicon.TrayIcon("Gajim")
|
||||||
tip = gtk.Tooltips()
|
self.tip = gtk.Tooltips()
|
||||||
tip.set_tip(t, 'Gajim')
|
self.tip.set_tip(t, 'Gajim')
|
||||||
self.img_tray = gtk.Image()
|
self.img_tray = gtk.Image()
|
||||||
t.add(self.img_tray)
|
t.add(self.img_tray)
|
||||||
t.show_all()
|
t.show_all()
|
||||||
|
|
Loading…
Reference in New Issue