some events are not readable. thus unread event does not make sense. Pending Events is what we wanna say
This commit is contained in:
parent
9d3ca72534
commit
946d180054
|
@ -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': [
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue