[yelp] Make yelp open the user guide by default



commit 32351d9eab818a392afec6734ffeec84373e04c6
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Sep 21 23:24:00 2011 -0400

    Make yelp open the user guide by default
    
    Yelp was trying to, but the default URI was still using the
    old ghelp scheme, whereas the user guide uses the help: scheme
    nowadays.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=659784

 src/yelp-application.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/yelp-application.c b/src/yelp-application.c
index 1966500..a0a3604 100644
--- a/src/yelp-application.c
+++ b/src/yelp-application.c
@@ -40,7 +40,7 @@
 #include "yelp-application.h"
 #include "yelp-window.h"
 
-#define DEFAULT_URI "ghelp:gnome-help"
+#define DEFAULT_URI "help:gnome-help"
 
 static gboolean editor_mode = FALSE;
 
@@ -389,7 +389,7 @@ yelp_application_command_line (GApplication            *application,
     argv = g_application_command_line_get_arguments (cmdline, NULL);
 
     if (argv[1] == NULL)
-        open_uri (app, yelp_uri_new ("ghelp:gnome-help"), FALSE);
+        open_uri (app, yelp_uri_new (DEFAULT_URI), FALSE);
 
     for (i = 1; argv[i]; i++)
         open_uri (app, yelp_uri_new (argv[i]), FALSE);



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