[meld/VersionControlRework: 100/123] vcview: Deprecation fix
- From: Kai Willadsen <kaiw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld/VersionControlRework: 100/123] vcview: Deprecation fix
- Date: Sun, 19 Apr 2015 20:14:24 +0000 (UTC)
commit 79c3316ecfeb4b2a36f9a9ef8e21049b91c4c922
Author: Kai Willadsen <kai willadsen gmail com>
Date: Sat Apr 18 07:04:39 2015 +1000
vcview: Deprecation fix
meld/vcview.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/meld/vcview.py b/meld/vcview.py
index 77b8a92..f3e01a5 100644
--- a/meld/vcview.py
+++ b/meld/vcview.py
@@ -766,7 +766,7 @@ class VcView(melddoc.MeldDoc, gnomeglade.Component):
def on_consoleview_populate_popup(self, textview, menu):
buf = textview.get_buffer()
clear_cb = lambda *args: buf.delete(*buf.get_bounds())
- clear_action = Gtk.ImageMenuItem(Gtk.STOCK_CLEAR)
+ clear_action = Gtk.MenuItem.new_with_label(_("Clear"))
clear_action.connect("activate", clear_cb)
menu.insert(clear_action, 0)
menu.insert(Gtk.SeparatorMenuItem(), 1)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]