Skip to content
Snippets Groups Projects
Commit b48718a8 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

[multani] when right/middle click on the old popup window, destroy it

parent afe373c6
No related branches found
No related tags found
No related merge requests found
......@@ -903,6 +903,9 @@ class PopupNotificationWindow:
gtk.gdk.screen_height() - gajim.interface.roster.popups_notification_height)
def on_popup_notification_window_button_press_event(self, widget, event):
if event.button != 1:
self.window.destroy()
return
# use Contact class, new_chat expects it that way
# is it in the roster?
if gajim.contacts[self.account].has_key(self.jid):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment