[Python-apps-commits] r10271 - in packages/kupfer/trunk/debian (3 files)
dktrkranz at users.alioth.debian.org
dktrkranz at users.alioth.debian.org
Thu Dec 19 20:08:07 UTC 2013
Date: Thursday, December 19, 2013 @ 20:08:06
Author: dktrkranz
Revision: 10271
Spawn tracker-needle instead of tracker-search-tool
Added:
packages/kupfer/trunk/debian/patches/tracker-needle.patch
Modified:
packages/kupfer/trunk/debian/changelog
packages/kupfer/trunk/debian/patches/series
Modified: packages/kupfer/trunk/debian/changelog
===================================================================
--- packages/kupfer/trunk/debian/changelog 2013-12-19 20:02:57 UTC (rev 10270)
+++ packages/kupfer/trunk/debian/changelog 2013-12-19 20:08:06 UTC (rev 10271)
@@ -4,6 +4,8 @@
* debian/patches/help.patch:
- Workaround missing xml file, which prevents documentation from
being loaded (Closes: #679296).
+ * debian/patches/tracker-needle.patch:
+ - Spawn tracker-needle instead of tracker-search-tool (Closes: #680003).
* debian/control:
- Use canonical URIs for Vcs-* fields.
* debian/watch:
Modified: packages/kupfer/trunk/debian/patches/series
===================================================================
--- packages/kupfer/trunk/debian/patches/series 2013-12-19 20:02:57 UTC (rev 10270)
+++ packages/kupfer/trunk/debian/patches/series 2013-12-19 20:08:06 UTC (rev 10271)
@@ -1,3 +1,4 @@
uses_fragment.patch
keyring-3.patch
help.patch
+tracker-needle.patch
Added: packages/kupfer/trunk/debian/patches/tracker-needle.patch
===================================================================
--- packages/kupfer/trunk/debian/patches/tracker-needle.patch (rev 0)
+++ packages/kupfer/trunk/debian/patches/tracker-needle.patch 2013-12-19 20:08:06 UTC (rev 10271)
@@ -0,0 +1,18 @@
+Description: Spawn tracker-needle instead of tracker-search-tool
+Author: Luca Falavigna <dktrkranz at debian.org>
+Forwarded: https://launchpad.net/kupfer/+bug/1082467
+
+Index: kupfer-0+v208/kupfer/plugin/tracker1.py
+===================================================================
+--- kupfer-0+v208.orig/kupfer/plugin/tracker1.py 2012-06-01 19:51:14.000000000 +0200
++++ kupfer-0+v208/kupfer/plugin/tracker1.py 2013-12-19 21:05:43.663853407 +0100
+@@ -49,7 +49,8 @@
+ 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):
More information about the Python-apps-commits
mailing list