Yann Leboulanger pushed to branch master at gajim / gajim

Commits:
38581b70 by Tomasz Miąsko at 2017-02-03T11:21:06+01:00
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).

- - - - -
92f52bbc by Yann Leboulanger at 2017-02-03T12:13:54+01:00
Merge branch 'roster-popup-menu' into 'master'

Fix roster popup menu.

See merge request !49
- - - - -


1 changed file:

- src/roster_window.py


Changes:

=====================================
src/roster_window.py
=====================================
--- a/src/roster_window.py
+++ b/src/roster_window.py
@@ -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):



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/compare/a15f37aee34c5aaa7c1210490bf97dd75b01a5ca...92f52bbcbdefbeac72d2534e35fda870430402ce
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to