diff options
author | Matthias Clasen <mclasen@redhat.com> | 2011-09-21 23:24:00 -0400 |
---|---|---|
committer | Shaun McCance <shaunm@gnome.org> | 2011-09-22 08:14:56 -0400 |
commit | 32351d9eab818a392afec6734ffeec84373e04c6 (patch) | |
tree | 4711038187eeaf24a093046c4bdd12ad6b92e60f | |
parent | 544d60b2156b59219c3c08b1a1d5528a79e25e54 (diff) | |
download | yelp-32351d9eab818a392afec6734ffeec84373e04c6.tar.gz |
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
-rw-r--r-- | 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 1966500e..a0a36047 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); |