[kupfer] plugin.fileactions: Workaround ugly "Searching in Rename To......" name



commit 33405efe177f0600213d319cadc53e87e4da3224
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date:   Fri Oct 2 02:58:55 2009 +0200

    plugin.fileactions: Workaround ugly "Searching in Rename To......" name

 kupfer/plugin/fileactions.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/kupfer/plugin/fileactions.py b/kupfer/plugin/fileactions.py
index c9dc657..1457794 100644
--- a/kupfer/plugin/fileactions.py
+++ b/kupfer/plugin/fileactions.py
@@ -117,7 +117,8 @@ class RenameSource (TextSource):
 	"""
 	def __init__(self, sourcefile):
 		self.sourcefile = sourcefile
-		TextSource.__init__(self, _("Rename To..."))
+		name = _("Rename To...").rstrip(".")
+		TextSource.__init__(self, name)
 
 	def get_rank(self):
 		# this should rank high



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