[meld] Rename Up/Down to Previous/Next change
- From: Kai Willadsen <kaiw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld] Rename Up/Down to Previous/Next change
- Date: Fri, 21 May 2010 22:48:50 +0000 (UTC)
commit 83f3f08b4c94d4d93f33d9cad8e8c4e08d361c22
Author: Kai Willadsen <kai willadsen gmail com>
Date: Thu May 6 17:52:33 2010 +1000
Rename Up/Down to Previous/Next change
data/ui/meldapp-ui.xml | 8 ++++----
meld/meldapp.py | 8 ++++----
2 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/data/ui/meldapp-ui.xml b/data/ui/meldapp-ui.xml
index 0ae33d1..c5497e9 100644
--- a/data/ui/meldapp-ui.xml
+++ b/data/ui/meldapp-ui.xml
@@ -25,8 +25,8 @@
<menuitem name="Preferences" action="Preferences"/>
</menu>
<menu action="ChangesMenu">
- <menuitem action="Down"/>
- <menuitem action="Up"/>
+ <menuitem action="PrevChange"/>
+ <menuitem action="NextChange"/>
<separator/>
<placeholder name="ChangesActions" />
</menu>
@@ -54,8 +54,8 @@
<toolbar action="Toolbar">
<toolitem action="New"/>
<placeholder name="GeneralActions" />
- <toolitem action="Down"/>
- <toolitem action="Up"/>
+ <toolitem action="PrevChange"/>
+ <toolitem action="NextChange"/>
<toolitem action="Stop"/>
<separator/>
<placeholder name="SpecialActions" />
diff --git a/meld/meldapp.py b/meld/meldapp.py
index 4aa8062..4a442ba 100644
--- a/meld/meldapp.py
+++ b/meld/meldapp.py
@@ -155,8 +155,8 @@ class MeldApp(gnomeglade.Component):
("Preferences", gtk.STOCK_PREFERENCES, _("Prefere_nces"), None, _("Configure the application"), self.on_menu_preferences_activate),
("ChangesMenu", None, _("_Changes")),
- ("Down", gtk.STOCK_GO_DOWN, None, "<control>D", _("Go to the next difference"), self.on_menu_edit_down_activate),
- ("Up", gtk.STOCK_GO_UP, None, "<control>E", _("Go to the previous difference"), self.on_menu_edit_up_activate),
+ ("NextChange", gtk.STOCK_GO_DOWN, _("Next change"), "<control>D", _("Go to the next change"), self.on_menu_edit_down_activate),
+ ("PrevChange", gtk.STOCK_GO_UP, _("Previous change"), "<control>E", _("Go to the previous change"), self.on_menu_edit_up_activate),
("ViewMenu", None, _("_View")),
("FileStatus", None, _("File status")),
@@ -329,8 +329,8 @@ class MeldApp(gnomeglade.Component):
self.actiongroup.get_action("Redo").set_sensitive(can)
def on_next_diff_changed(self, doc, have_prev, have_next):
- self.actiongroup.get_action("Up").set_sensitive(have_prev)
- self.actiongroup.get_action("Down").set_sensitive(have_next)
+ self.actiongroup.get_action("PrevChange").set_sensitive(have_prev)
+ self.actiongroup.get_action("NextChange").set_sensitive(have_next)
def on_size_allocate(self, window, rect):
self.prefs.window_size_x = rect.width
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]