diff options
author | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2011-02-04 03:39:13 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2011-02-04 03:39:13 +0900 |
commit | 815363dfa71b4513681a0db06fc79619a3103efd (patch) | |
tree | 14edc4b95e96d18045a9e224f4a79864d60149be /src | |
parent | b1ec0a7b21efc26476407640cadaeb2958b9de5c (diff) |
* 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.
Diffstat (limited to 'src')
-rw-r--r-- | src/glade-window.c | 21 |
1 files changed, 2 insertions, 19 deletions
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" @@ -2056,19 +2055,6 @@ toggle_tabs_cb (GtkAction * action, GladeWindow * window) } 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) { if (glade_util_have_devhelp ()) @@ -2190,7 +2176,6 @@ static const gchar ui_info[] = " <placeholder name='ProjectsListPlaceholder'/>" " </menu>" " <menu action='HelpMenu'>" - " <menuitem action='HelpContents'/>" " <menuitem action='DeveloperReference'/>" " <separator/>" " <menuitem action='About'/>" @@ -2203,7 +2188,8 @@ static const gchar ui_info[] = " <separator/>" " <toolitem action='Cut'/>" " <toolitem action='Copy'/>" - " <toolitem action='Paste'/>" " </toolbar>" "</ui>"; + " <toolitem action='Paste'/>" + " </toolbar>" "</ui>"; 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)} |