diff options
author | Jaap Keuter <jaap.keuter@xs4all.nl> | 2010-06-20 16:27:03 +0000 |
---|---|---|
committer | Jaap Keuter <jaap.keuter@xs4all.nl> | 2010-06-20 16:27:03 +0000 |
commit | d31046f46e531548a00a0ebe836e3cbf32272bab (patch) | |
tree | c341f8b0f6f07f7824617a9ca44fd0135380cf9f /gtk | |
parent | d3e1e2df1e492f0fe0ece221cfc5be0cac0eeb57 (diff) |
Fix for bug 4875:
Don't hint at a local User's Gude when there isn't one.
svn path=/trunk/; revision=33267
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/main_welcome.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gtk/main_welcome.c b/gtk/main_welcome.c index 0ea601ed94..24078a7d56 100644 --- a/gtk/main_welcome.c +++ b/gtk/main_welcome.c @@ -906,9 +906,16 @@ welcome_new(void) item_hb = welcome_button(GTK_STOCK_HELP, "User's Guide", - "The User's Guide (local version, if installed)", + "The User's Guide " +#ifdef HHC_DIR + "(local version, if installed)", "Locally installed (if installed) otherwise online version", G_CALLBACK(topic_menu_cb), GINT_TO_POINTER(HELP_CONTENT)); +#else + "(online version)", + topic_online_url(ONLINEPAGE_USERGUIDE), + G_CALLBACK(topic_menu_cb), GINT_TO_POINTER(ONLINEPAGE_USERGUIDE)); +#endif gtk_box_pack_start(GTK_BOX(topic_to_fill), item_hb, FALSE, FALSE, 5); item_hb = welcome_button(WIRESHARK_STOCK_WIKI, |