Fix a small bug with events and groupchats

This commit is contained in:
Julien Pivotto 2007-05-17 19:54:46 +00:00
parent 38d2b822f8
commit 30ac161ee9
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ class Event:
show_in_systray = True): show_in_systray = True):
''' type_ in chat, normal, file-request, file-error, file-completed, ''' type_ in chat, normal, file-request, file-error, file-completed,
file-request-error, file-send-error, file-stopped, gc_msg, pm, file-request-error, file-send-error, file-stopped, gc_msg, pm,
printed_chat, printed_gc_msg, printed_pm printed_chat, printed_gc_msg, printed_marked_gc_msg, printed_pm
parameters is (per type_): parameters is (per type_):
chat, normal: [message, subject, kind, time, encrypted, resource, chat, normal: [message, subject, kind, time, encrypted, resource,
msg_id] msg_id]

View File

@ -873,7 +873,7 @@ def get_notification_icon_tooltip_text():
'chat']) 'chat'])
unread_single_chat = gajim.events.get_nb_events(types = ['normal']) unread_single_chat = gajim.events.get_nb_events(types = ['normal'])
unread_gc = gajim.events.get_nb_events(types = ['printed_gc_msg', unread_gc = gajim.events.get_nb_events(types = ['printed_gc_msg',
'gc_msg']) 'printed_marked_gc_msg', 'gc_msg'])
unread_pm = gajim.events.get_nb_events(types = ['printed_pm', 'pm']) unread_pm = gajim.events.get_nb_events(types = ['printed_pm', 'pm'])
accounts = get_accounts_info() accounts = get_accounts_info()