[meld/deprecation-cleanup: 4/48] filediff, vcview: Use current event implicitly in popup handling
- From: Kai Willadsen <kaiw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld/deprecation-cleanup: 4/48] filediff, vcview: Use current event implicitly in popup handling
- Date: Sun, 2 Dec 2018 02:42:28 +0000 (UTC)
commit 4fe2601046d572fccafa5730066e2c9498c37f4d
Author: Kai Willadsen <kai willadsen gmail com>
Date: Thu Nov 29 06:54:46 2018 +1000
filediff, vcview: Use current event implicitly in popup handling
meld/filediff.py | 2 +-
meld/vcview.py | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/meld/filediff.py b/meld/filediff.py
index 7da164e5..6a058daa 100644
--- a/meld/filediff.py
+++ b/meld/filediff.py
@@ -1036,7 +1036,7 @@ class FileDiff(MeldDoc, Component):
rect,
Gdk.Gravity.SOUTH_EAST,
Gdk.Gravity.NORTH_WEST,
- Gtk.get_current_event(),
+ None,
)
return True
diff --git a/meld/vcview.py b/meld/vcview.py
index 12ed6289..78697de0 100644
--- a/meld/vcview.py
+++ b/meld/vcview.py
@@ -496,7 +496,7 @@ class VcView(MeldDoc, Component):
def on_treeview_popup_menu(self, treeview):
cursor_path, cursor_col = treeview.get_cursor()
if not cursor_path:
- self.popup_menu.popup_at_pointer(Gtk.get_current_event())
+ self.popup_menu.popup_at_pointer(None)
return True
# We always want to pop up to the right of the first column,
@@ -509,7 +509,7 @@ class VcView(MeldDoc, Component):
rect,
Gdk.Gravity.SOUTH_EAST,
Gdk.Gravity.NORTH_WEST,
- Gtk.get_current_event(),
+ None,
)
return True
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]