From 910afa2b4730ceb91a0a24c900b99f06a3b0f0dc Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Sun, 3 Sep 2006 20:35:23 +0000 Subject: [PATCH] gajim-remote show_next_unread is back --- src/remote_control.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/remote_control.py b/src/remote_control.py index 802bf64c8..7e723dc8b 100644 --- a/src/remote_control.py +++ b/src/remote_control.py @@ -351,8 +351,7 @@ class SignalObject(DbusPrototype): def show_next_unread(self, *args): ''' Show the window(s) with next waiting messages in tabbed/group chats. ''' - #FIXME: when systray is disabled this method does nothing. - if len(gajim.interface.systray.jids) != 0: + if gajim.events.get_nb_events(): gajim.interface.systray.handle_first_event() def contact_info(self, *args):