[evolution] Bug 749060 - Help->Contents does not open in yelp



commit 7555b204f608b7fd69eb9aa0149fd1a3cd7ca5b1
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 7718729..f607f89 100644
--- a/e-util/e-misc-utils.c
+++ b/e-util/e-misc-utils.c
@@ -316,10 +316,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]