[yelp/wip/amigadave/webkit2-port: 50/53] yelp-uri-builder: Handle man uris



commit 5a41c5b39824f18d0f283d04f9478251e9c847cb
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]