Commit 3c77e6e2 authored by Ignacio Casal Quinteiro's avatar Ignacio Casal Quinteiro Committed by Paolo Borelli

externaltools: add GDK_SCROLL_MASK

parent 7b846e5e
......@@ -59,7 +59,7 @@ class LanguagesPopup(Gtk.Window):
Gdk.GrabOwnership.WINDOW, False,
Gdk.EventMask.KEY_PRESS_MASK |
Gdk.EventMask.KEY_RELEASE_MASK,
None, 0L)
None, Gdk.CURRENT_TIME)
self.pointer.grab(self.get_window(),
Gdk.GrabOwnership.WINDOW, False,
Gdk.EventMask.BUTTON_PRESS_MASK |
......@@ -68,8 +68,9 @@ class LanguagesPopup(Gtk.Window):
Gdk.EventMask.ENTER_NOTIFY_MASK |
Gdk.EventMask.LEAVE_NOTIFY_MASK |
Gdk.EventMask.PROXIMITY_IN_MASK |
Gdk.EventMask.PROXIMITY_OUT_MASK,
None, 0L)
Gdk.EventMask.PROXIMITY_OUT_MASK |
Gdk.EventMask.SCROLL_MASK,
None, Gdk.CURRENT_TIME)
self.view.get_selection().select_path((0,))
......
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