From 946d1800544f9b1b46d8f7c022f1d14b94e66560 Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Fri, 20 Oct 2006 09:37:24 +0000 Subject: [PATCH] some events are not readable. thus unread event does not make sense. Pending Events is what we wanna say --- src/gajim-remote.py | 4 ++-- src/gajim.py | 2 +- src/remote_control.py | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/gajim-remote.py b/src/gajim-remote.py index 24d775f1b..5548b80aa 100755 --- a/src/gajim-remote.py +++ b/src/gajim-remote.py @@ -74,8 +74,8 @@ class GajimRemote: _('Shows or hides the roster window'), [] ], - 'show_next_unread': [ - _('Popups a window with the next unread event'), + 'show_next_pending_event': [ + _('Popups a window with the next pending event'), [] ], 'list_contacts': [ diff --git a/src/gajim.py b/src/gajim.py index 7a5f3d293..145ab30e5 100755 --- a/src/gajim.py +++ b/src/gajim.py @@ -205,7 +205,7 @@ class GlibIdleQueue(idlequeue.IdleQueue): Start listening for events from fd ''' res = gobject.io_add_watch(fd, flags, self.process_events, - priority=gobject.PRIORITY_LOW) + priority=gobject.PRIORITY_LOW) # store the id of the watch, so that we can remove it on unplug self.events[fd] = res diff --git a/src/remote_control.py b/src/remote_control.py index 7423e5aff..cf64de386 100644 --- a/src/remote_control.py +++ b/src/remote_control.py @@ -292,8 +292,8 @@ class SignalObject(dbus.service.Object): return None @dbus.service.method(INTERFACE) - def show_next_unread(self, *args): - '''Show the window(s) with next waiting messages in tabbed/group chats. ''' + def show_next_pending_event(self, *args): + '''Show the window(s) with next pending event in tabbed/group chats.''' if gajim.events.get_nb_events(): gajim.interface.systray.handle_first_event()