some events are not readable. thus unread event does not make sense. Pending Events is what we wanna say

This commit is contained in:
Nikos Kouremenos 2006-10-20 09:37:24 +00:00
parent 9d3ca72534
commit 946d180054
3 changed files with 5 additions and 5 deletions

View File

@ -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': [

View File

@ -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

View File

@ -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()