gajim-remote get_unread_msgs_number now works ok. fix #2622

This commit is contained in:
Nikos Kouremenos 2006-11-03 12:55:05 +00:00
parent ee4e96c4ad
commit 213cfba438
2 changed files with 2 additions and 2 deletions

View File

@ -149,7 +149,7 @@ class Events:
return first_event
def _get_nb_events(self, account = None, jid = None, attribute = None, types = []):
'''return the number of events'''
'''return the number of pending events'''
nb = 0
if account:
accounts = [account]

View File

@ -549,7 +549,7 @@ class SignalObject(dbus.service.Object):
@dbus.service.method(INTERFACE)
def get_unread_msgs_number(self, *args):
return str(gajim.events.get_nb_events)
return str(gajim.events.get_nb_events())
@dbus.service.method(INTERFACE)
def start_chat(self, *args):