Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann Leboulanger <asterix@lagaule.org>2011-08-01 21:31:22 +0400
committerYann Leboulanger <asterix@lagaule.org>2011-08-01 21:31:22 +0400
commitfd81c3f6d0cf590f19402a7d278da15374e11d02 (patch)
tree68441c64f55db2d27a6706aa7f3116461a6b732d /src/remote_control.py
parent7d6bbdb38ecb4371de88da6ce41df920941e4b79 (diff)
look in all events (not only systray events) when using gajim-remote show_next_pending_event. Fixes #2791
Diffstat (limited to 'src/remote_control.py')
-rw-r--r--src/remote_control.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/remote_control.py b/src/remote_control.py
index 7f47b94c3..f6cb2c408 100644
--- a/src/remote_control.py
+++ b/src/remote_control.py
@@ -594,7 +594,10 @@ class SignalObject(dbus.service.Object):
Show the window(s) with next pending event in tabbed/group chats
"""
if gajim.events.get_nb_events():
- gajim.interface.systray.handle_first_event()
+ account, jid, event = gajim.events.get_first_event()
+ if not event:
+ return
+ gajim.interface.handle_event(account, jid, event.type_)
@dbus.service.method(INTERFACE, in_signature='s', out_signature='a{sv}')
def contact_info(self, jid):