don't hide roster when we want to show systray only when there are pending events.

This commit is contained in:
Yann Leboulanger 2009-06-23 21:07:39 +02:00
parent a53d373e04
commit 84d1eb4bc4
1 changed files with 1 additions and 1 deletions

View File

@ -2193,7 +2193,7 @@ class RosterWindow:
def on_roster_window_delete_event(self, widget, event):
'''Main window X button was clicked'''
if gajim.interface.systray_enabled and not gajim.config.get(
'quit_on_roster_x_button'):
'quit_on_roster_x_button') and gajim.config.get('trayicon') != 'on_event':
self.tooltip.hide_tooltip()
self.window.hide()
else: