[meld/deprecation-cleanup: 1/48] vcview: Rename treeview popup helper
- From: Kai Willadsen <kaiw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld/deprecation-cleanup: 1/48] vcview: Rename treeview popup helper
- Date: Sun, 2 Dec 2018 02:42:12 +0000 (UTC)
commit 63b64d1248c9c6fd1ad6db42b89cc982b54192d1
Author: Kai Willadsen <kai willadsen gmail com>
Date: Thu Nov 29 06:02:23 2018 +1000
vcview: Rename treeview popup helper
`do_treeview_popup_menu` makes it sound like we're overriding a vfunc,
and we are definitely not.
meld/vcview.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/meld/vcview.py b/meld/vcview.py
index 6e2bd5af..b8ad2c69 100644
--- a/meld/vcview.py
+++ b/meld/vcview.py
@@ -493,7 +493,7 @@ class VcView(MeldDoc, Component):
self.emit("create-diff",
[Gio.File.new_for_path(d) for d in diffs], kwargs)
- def do_popup_treeview_menu(self, widget, event):
+ def popup_treeview_menu(self, widget, event):
if event:
button = event.button
time = event.time
@@ -503,7 +503,7 @@ class VcView(MeldDoc, Component):
self.popup_menu.popup(None, None, None, None, button, time)
def on_treeview_popup_menu(self, treeview):
- self.do_popup_treeview_menu(treeview, None)
+ self.popup_treeview_menu(treeview, None)
return True
def on_button_press_event(self, treeview, event):
@@ -520,7 +520,7 @@ class VcView(MeldDoc, Component):
selection.select_path(path[0])
treeview.set_cursor(path[0])
- self.do_popup_treeview_menu(treeview, event)
+ self.popup_treeview_menu(treeview, event)
return True
return False
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]