[yelp/carlosgc/webkit2-port] yelp-uri-builder: Handle man uris



commit 459aa3dd052cf6d2e0441127ff8c1a7c4ed6f7ca
Author: Carlos Garcia Campos <cgarcia igalia com>
Date:   Tue Jun 16 11:30:19 2015 +0200

    yelp-uri-builder: Handle man uris
    
    Also consider man uris in build_network_uri().

 libyelp/yelp-uri-builder.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libyelp/yelp-uri-builder.c b/libyelp/yelp-uri-builder.c
index 7022f98..bb34d20 100644
--- a/libyelp/yelp-uri-builder.c
+++ b/libyelp/yelp-uri-builder.c
@@ -37,7 +37,7 @@ build_network_uri (const gchar *uri)
      */
     if (g_str_equal (soup_uri->scheme, "ghelp") || g_str_equal (soup_uri->scheme, "gnome-help") ||
         g_str_equal (soup_uri->scheme, "help") || g_str_equal (soup_uri->scheme, "help-list") ||
-        g_str_equal (soup_uri->scheme, "info")) {
+        g_str_equal (soup_uri->scheme, "info") || g_str_equal (soup_uri->scheme, "man")) {
 
         if (g_str_equal (soup_uri->scheme, "info") && soup_uri->fragment) {
             path = g_strdup_printf ("/%s/%s", soup_uri->path, soup_uri->fragment);


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