From 815363dfa71b4513681a0db06fc79619a3103efd Mon Sep 17 00:00:00 2001 From: Tristan Van Berkom Date: Fri, 4 Feb 2011 03:39:13 +0900 Subject: * src/glade-window.c: Removed user manual link from Help menu, it's not online as far as I know and no work was done on it, the current user manual needs work and is just not useful in it's current state. --- src/glade-window.c | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) (limited to 'src') diff --git a/src/glade-window.c b/src/glade-window.c index e39dde62..7e04f525 100644 --- a/src/glade-window.c +++ b/src/glade-window.c @@ -51,7 +51,6 @@ #define READONLY_INDICATOR (_("[Read Only]")) -#define URL_USER_MANUAL "http://library.gnome.org/devel/glade/" #define URL_DEVELOPER_MANUAL "http://library.gnome.org/devel/gladeui/" #define CONFIG_GROUP_WINDOWS "Glade Windows" @@ -2055,19 +2054,6 @@ toggle_tabs_cb (GtkAction * action, GladeWindow * window) gtk_notebook_set_show_tabs (GTK_NOTEBOOK (window->priv->notebook), FALSE); } -static void -show_help_cb (GtkAction * action, GladeWindow * window) -{ - gboolean retval; - - retval = glade_util_url_show ("ghelp:glade"); - if (retval) - return; - - /* fallback to displaying online user manual */ - glade_util_url_show (URL_USER_MANUAL); -} - static void show_developer_manual_cb (GtkAction * action, GladeWindow * window) { @@ -2190,7 +2176,6 @@ static const gchar ui_info[] = " " " " " " - " " " " " " " " @@ -2203,7 +2188,8 @@ static const gchar ui_info[] = " " " " " " - " " " " ""; + " " + " " ""; static GtkActionEntry static_entries[] = { {"FileMenu", NULL, N_("_File")}, @@ -2233,9 +2219,6 @@ static GtkActionEntry static_entries[] = { {"About", GTK_STOCK_ABOUT, NULL, NULL, N_("About this application"), G_CALLBACK (about_cb)}, - {"HelpContents", GTK_STOCK_HELP, N_("_Contents"), "F1", - N_("Display the user manual"), G_CALLBACK (show_help_cb)}, - {"DeveloperReference", NULL, N_("_Developer Reference"), NULL, N_("Display the developer reference manual"), G_CALLBACK (show_developer_manual_cb)} -- cgit v1.2.3