Commit b102752c authored by nkour's avatar nkour

fixes

parent a54df94b
......@@ -923,6 +923,7 @@ class roster_window:
"""When we want to close the window"""
if self.plugin.systray_visible:
self.window.iconify()
win.skip_taskbar_hint = True
else:
self.quit_gtkgui_plugin()
return 1
......
......@@ -216,9 +216,9 @@ class systray:
def show_icon(self):
if not self.t:
self.t = trayicon.TrayIcon("Gajim")
self.t = trayicon.TrayIcon('Gajim')
eb = gtk.EventBox()
eb.connect("button-press-event", self.on_clicked)
eb.connect('button-press-event', self.on_clicked)
self.tip = gtk.Tooltips()
self.tip.set_tip(self.t, 'Gajim')
self.img_tray = gtk.Image()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment