Package: kupfer Version: 0+v208-2 Severity: normal Tags: patch, upstream Dear maintainer,
Since tracker 0.10 tracker-search-tool has been replaced by tracker-needle. Attached patch fixes invoking Search in Tracker action. Please let me know if it is ok if I forward this to upstream myself. I don't know what is the best practise. Cheers, Petr Gajdůšek --- System information. --- Architecture: amd64 Kernel: Linux 3.2.0-3-amd64 Debian Release: wheezy/sid 990 unstable www.deb-multimedia.org 990 unstable ftp.cz.debian.org 990 testing ftp.cz.debian.org 600 experimental ftp.cz.debian.org 500 testing www.deb-multimedia.org 500 stable deb.opera.com --- Package information. --- Depends (Version) | Installed ==================================-+-============== python (>= 2.6.6-7~) | 2.7.3~rc2-1 python-gobject (>= 2.18) | 3.2.2-1 python-gtk2 (>= 2.16) | 2.24.0-3 python-xdg | 0.19-4 python-dbus | 1.1.1-1 dbus | 1.6.2-1 python-keybinder | 0.2.2-4 Recommends (Version) | Installed =============================-+-=========== python-keyring | 0.7.1-1 python-wnck | 2.32.0+dfsg-2+b1 Suggests (Version) | Installed ==============================-+-=========== python-cjson | 1.0.5-4+b1 python-gdata | 2.0.17-1 python-qrencode | 1.01-2+b1
>From 2c2fc64d629661d677ff32973d6cee527a1a87ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Gajd=C5=AF=C5=A1ek?= <[email protected]> Date: Mon, 2 Jul 2012 05:08:04 +0200 Subject: [PATCH 1/2] tracker plugin: spawn tracker-needle if installed Since tracker 0.10 tracker-search-tool has been replaced by tracker-needle. This fixes invoking Search in Tracker action doing nothing. --- kupfer/plugin/tracker1.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/kupfer/plugin/tracker1.py b/kupfer/plugin/tracker1.py index 0c9eb51..fb9e00d 100644 --- a/kupfer/plugin/tracker1.py +++ b/kupfer/plugin/tracker1.py @@ -6,6 +6,8 @@ Tracker1 Tracker 0.10 has exactly the same Resources.SparqlQuery API, but according to its developers it does not have the same class signal api but that does not impact this plugin. + +Since tracker 0.10 tracker-search-tool has been replaced by tracker-needle. """ __kupfer_name__ = _("Tracker") __kupfer_sources__ = () @@ -49,7 +51,8 @@ class TrackerSearch (Action): Action.__init__(self, _("Search in Tracker")) def activate(self, leaf): - utils.spawn_async(["tracker-search-tool", leaf.object]) + search_tool = utils.lookup_exec_path("tracker-needle") or "tracker-search-tool" + utils.spawn_async([search_tool, leaf.object]) def get_description(self): return _("Open Tracker Search Tool and search for this term") def get_icon_name(self): -- 1.7.10

