Commit 38581b70 authored by Tomasz Miąsko's avatar Tomasz Miąsko

Fix roster popup menu.

Replace Gdk.Event with Gdk.Event.new, so that event is constructed with
correct type information. This fixes showing a roster popup menu when
launched using keyboard shortcut (Menu key or Shift-F10).
parent a15f37ae
......@@ -3967,7 +3967,7 @@ class RosterWindow:
self.on_history(widget, contact, account)
def on_roster_window_popup_menu(self, widget):
event = Gdk.Event(Gdk.EventType.KEY_PRESS)
event = Gdk.Event.new(Gdk.EventType.KEY_PRESS)
self.show_treeview_menu(event)
def on_row_activated(self, widget, path):
......
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