[kupfer] plugin.fileactions: Rename suggestsions rank high, 100



commit 646a9e8426e7cd085e4cb0be8fc4705b9bc32ed5
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date:   Wed Sep 9 21:38:11 2009 +0200

    plugin.fileactions: Rename suggestsions rank high, 100

 kupfer/plugin/fileactions.py |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/kupfer/plugin/fileactions.py b/kupfer/plugin/fileactions.py
index 3d55391..c9dc657 100644
--- a/kupfer/plugin/fileactions.py
+++ b/kupfer/plugin/fileactions.py
@@ -119,6 +119,10 @@ class RenameSource (TextSource):
 		self.sourcefile = sourcefile
 		TextSource.__init__(self, _("Rename To..."))
 
+	def get_rank(self):
+		# this should rank high
+		return 100
+
 	def get_items(self, text):
 		if not text:
 			return



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