Skip to content
Snippets Groups Projects
Commit b102752c authored by nkour's avatar nkour
Browse files

fixes

parent a54df94b
No related branches found
No related tags found
No related merge requests found
...@@ -923,6 +923,7 @@ class roster_window: ...@@ -923,6 +923,7 @@ class roster_window:
"""When we want to close the window""" """When we want to close the window"""
if self.plugin.systray_visible: if self.plugin.systray_visible:
self.window.iconify() self.window.iconify()
win.skip_taskbar_hint = True
else: else:
self.quit_gtkgui_plugin() self.quit_gtkgui_plugin()
return 1 return 1
......
...@@ -216,9 +216,9 @@ class systray: ...@@ -216,9 +216,9 @@ class systray:
def show_icon(self): def show_icon(self):
if not self.t: if not self.t:
self.t = trayicon.TrayIcon("Gajim") self.t = trayicon.TrayIcon('Gajim')
eb = gtk.EventBox() 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 = gtk.Tooltips()
self.tip.set_tip(self.t, 'Gajim') self.tip.set_tip(self.t, 'Gajim')
self.img_tray = gtk.Image() self.img_tray = gtk.Image()
......
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