Author: roidelapluie Date: 2007-05-17 21:54:46 +0200 (Thu, 17 May 2007) New Revision: 8159
Modified: trunk/src/common/events.py trunk/src/common/helpers.py Log: Fix a small bug with events and groupchats
Modified: trunk/src/common/events.py =================================================================== --- trunk/src/common/events.py 2007-05-17 15:54:23 UTC (rev 8158) +++ trunk/src/common/events.py 2007-05-17 19:54:46 UTC (rev 8159) @@ -28,7 +28,7 @@ show_in_systray = True): ''' type_ in chat, normal, file-request, file-error, file-completed, 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_): chat, normal: [message, subject, kind, time, encrypted, resource, msg_id]
Modified: trunk/src/common/helpers.py =================================================================== --- trunk/src/common/helpers.py 2007-05-17 15:54:23 UTC (rev 8158) +++ trunk/src/common/helpers.py 2007-05-17 19:54:46 UTC (rev 8159) @@ -873,7 +873,7 @@ 'chat']) unread_single_chat = gajim.events.get_nb_events(types = ['normal']) 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'])
accounts = get_accounts_info()