[meld] Rename newly minted Revert action



commit 99c97f9a7490702b3946576c26f2a51974f0c8d7
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Sun Apr 28 12:59:10 2013 +1000

    Rename newly minted Revert action

 meld/filediff.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/meld/filediff.py b/meld/filediff.py
index 37595cf..30c4767 100644
--- a/meld/filediff.py
+++ b/meld/filediff.py
@@ -223,7 +223,7 @@ class FileDiff(melddoc.MeldDoc, gnomeglade.Component):
                 self.make_patch),
             ("Revert", gtk.STOCK_REVERT_TO_SAVED, None, None,
                 _("Revert files to their saved versions"),
-                self.on_reload_activate),
+                self.on_revert_activate),
             ("SplitAdd", None, _("Add Synchronization Point"), None,
                 _("Add a manual point for synchronization of changes between "
                   "files"),
@@ -1622,7 +1622,7 @@ class FileDiff(melddoc.MeldDoc, gnomeglade.Component):
                 return i
         return -1
 
-    def on_reload_activate(self, *extra):
+    def on_revert_activate(self, *extra):
         response = gtk.RESPONSE_OK
         unsaved = [b.data.label for b in self.textbuffer if b.data.modified]
         if unsaved:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]