Skip to content
Snippets Groups Projects
Commit 23b8c1fa authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

always create self.tip even if show_icon is never called

parent 5216a4bb
No related branches found
No related tags found
No related merge requests found
......@@ -248,7 +248,6 @@ class systray:
self.t = trayicon.TrayIcon('Gajim')
eb = gtk.EventBox()
eb.connect('button-press-event', self.on_clicked)
self.tip = gtk.Tooltips()
self.tip.set_tip(self.t, 'Gajim')
self.img_tray = gtk.Image()
eb.add(self.img_tray)
......@@ -265,6 +264,7 @@ class systray:
self.plugin = plugin
self.jids = []
self.t = None
self.tip = gtk.Tooltips()
self.img_tray = gtk.Image()
self.status = 'offline'
self.xml = gtk.glade.XML(GTKGUI_GLADE, 'systray_context_menu', APP)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment