[kupfer: 2/6] tracker: Remove TrackerSearch action in 0.8 (t-s-t doesn't support it)



commit b72757ac97c070e7fe8788f686e85d15a8f3d66f
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date:   Tue May 4 00:18:35 2010 +0200

    tracker: Remove TrackerSearch action in 0.8 (t-s-t doesn't support it)

 kupfer/plugin/tracker1.py |   13 -------------
 1 files changed, 0 insertions(+), 13 deletions(-)
---
diff --git a/kupfer/plugin/tracker1.py b/kupfer/plugin/tracker1.py
index e476d7f..e7ff818 100644
--- a/kupfer/plugin/tracker1.py
+++ b/kupfer/plugin/tracker1.py
@@ -40,19 +40,6 @@ SERVICE1_NAME = "org.freedesktop.Tracker1"
 SEARCH_OBJECT1_PATH = "/org/freedesktop/Tracker1/Resources"
 SEARCH1_INTERFACE = "org.freedesktop.Tracker1.Resources"
 
-class TrackerSearch (Action):
-	def __init__(self):
-		Action.__init__(self, _("Search in Tracker"))
-
-	def activate(self, leaf):
-		utils.launch_commandline("tracker-search-tool %s" % leaf.object)
-	def get_description(self):
-		return _("Open Tracker Search Tool and search for this term")
-	def get_icon_name(self):
-		return "search"
-	def item_types(self):
-		yield TextLeaf
-
 
 class TrackerSearchHere (Action):
 	def __init__(self):



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