From 60eebb78887e282208dc33dc3a29d70054b2bf70 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Mon, 19 Dec 2005 20:01:32 +0000 Subject: [PATCH] remove event from queue as soon as we click notification window --- src/roster_window.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/roster_window.py b/src/roster_window.py index 8d60d027b..0d3e53a12 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -1975,20 +1975,20 @@ _('If "%s" accepts this request you will know his or her status.') %jid) return True elif typ == 'file-request': contact = gajim.get_contact_instance_with_highest_priority(account, jid) - ft.show_file_request(account, contact, data) gajim.interface.remove_first_event(account, jid, typ) + ft.show_file_request(account, contact, data) return True elif typ in ('file-request-error', 'file-send-error'): - ft.show_send_error(data) gajim.interface.remove_first_event(account, jid, typ) + ft.show_send_error(data) return True elif typ in ('file-error', 'file-stopped'): - ft.show_stopped(jid, data) gajim.interface.remove_first_event(account, jid, typ) + ft.show_stopped(jid, data) return True elif typ == 'file-completed': - ft.show_completed(jid, data) gajim.interface.remove_first_event(account, jid, typ) + ft.show_completed(jid, data) return True return False