[kupfer] obj: Use "Text" name and edit-select all icon for TextSource



commit bb6cea4123b5f3a20b79564a9f71547a3a394e87
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date:   Tue Mar 29 19:46:25 2011 +0200

    obj: Use "Text" name and edit-select all icon for TextSource

 kupfer/obj/base.py |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/kupfer/obj/base.py b/kupfer/obj/base.py
index 0b45070..4c23bf9 100644
--- a/kupfer/obj/base.py
+++ b/kupfer/obj/base.py
@@ -454,7 +454,7 @@ class TextSource (KupferObject):
 	this is a psedo Source"""
 	def __init__(self, name=None):
 		if not name:
-			name = _("Text Matches")
+			name = _("Text")
 		KupferObject.__init__(self, name)
 
 	def __eq__(self, other):
@@ -484,6 +484,9 @@ class TextSource (KupferObject):
 		"""A seq of the types of items it provides"""
 		yield Leaf
 
+	def get_icon_name(self):
+		return "edit-select-all"
+
 
 class ActionGenerator (object):
 	"""A "source" for actions



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