Commit b48718a8 authored by Yann Leboulanger's avatar Yann Leboulanger

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

parent afe373c6
......@@ -903,6 +903,9 @@ def adjust_height_and_move_popup_notification_windows(self):
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:
# use Contact class, new_chat expects it that way
# is it in the roster?
if gajim.contacts[self.account].has_key(self.jid):
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment