fixes
This commit is contained in:
parent
a54df94bf7
commit
b102752cab
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue