[evolution/gnome-3-16] Bug 749060 - Help->Contents does not open in yelp



commit e0bc5de4465a698a5375362e06b21106fc437d25
Author: Milan Crha <mcrha redhat com>
Date:   Mon May 11 18:26:25 2015 +0200

    Bug 749060 - Help->Contents does not open in yelp

 e-util/e-misc-utils.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/e-util/e-misc-utils.c b/e-util/e-misc-utils.c
index 46f55c9..847ae6c 100644
--- a/e-util/e-misc-utils.c
+++ b/e-util/e-misc-utils.c
@@ -315,10 +315,11 @@ e_display_help (GtkWindow *parent,
        if (parent != NULL)
                screen = gtk_widget_get_screen (GTK_WIDGET (parent));
 
-       g_string_append (uri, "/");
 
-       if (link_id != NULL)
+       if (link_id != NULL) {
+               g_string_append (uri, "/");
                g_string_append (uri, link_id);
+       }
 
        if (gtk_show_uri (screen, uri->str, timestamp, &error))
                goto exit;


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