File: disable_package_search.patch

package info (click to toggle)
yelp 49.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,772 kB
  • sloc: javascript: 18,570; ansic: 16,269; sh: 152; xml: 79; python: 44; makefile: 20
file content (31 lines) | stat: -rw-r--r-- 1,109 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From: Jeremy Bicha <jbicha@ubuntu.com>
Date: Mon, 26 Sep 2011 21:08:21 -0400
Subject: Remove "Search for packages" 404 feature

since it doesn't work with Debian's PackageKit. We apparently
need to implement org.freedesktop.PackageKit.Modify.InstallProvideFiles

https://wiki.debian.org/SessionInstaller

Forwarded: not-needed
Bug: https://bugs.launchpad.net/bugs/838540
===================================================================
---
 libyelp/yelp-view.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/libyelp/yelp-view.c b/libyelp/yelp-view.c
index 0c84cdf..ff87bb0 100644
--- a/libyelp/yelp-view.c
+++ b/libyelp/yelp-view.c
@@ -1929,10 +1929,6 @@ view_show_error_page (YelpView *view,
             scheme = "ghelp";
             pkg = struri + 6;
         }
-        if (pkg != NULL)
-            content_end = g_markup_printf_escaped ("<p><a class='button' href='install-%s:%s'>%s</a></p>",
-                                                   scheme, pkg,
-                                                   _("Find Packages Containing This Document"));
         g_free (struri);
     }