summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.van.berkom@gmail.com>2011-02-04 03:47:36 +0900
committerTristan Van Berkom <tristan.van.berkom@gmail.com>2011-02-04 03:47:36 +0900
commit2d2f2e8f3a5b383fe11452a5b64b44f19e10afe9 (patch)
treeb38db1fdb84dd38b41c27a9c80c33a056238514d
parent808026f04cc7108935d6a38ebcc5f91cef9d5e8d (diff)
downloadglade-2d2f2e8f3a5b383fe11452a5b64b44f19e10afe9.tar.gz
* 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. Conflicts: ChangeLog src/glade-window.c
-rw-r--r--ChangeLog4
-rw-r--r--src/glade-window.c18
2 files changed, 4 insertions, 18 deletions
diff --git a/ChangeLog b/ChangeLog
index 6a8e1bb5..eaf4fa68 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,6 +6,10 @@
* gladeui/glade-widget.[ch], gladeui/glade-project.c, gladeui/glade-utils.c: Now update
the GladeWidget's project pointer when going in and out of a project.
+ * 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.
+
2011-01-29 Tristan Van Berkom <tristanvb@openismus.com>
* plugins/gtk+/glade-model-data.c: Avoid committing the data if the data did not
diff --git a/src/glade-window.c b/src/glade-window.c
index 5de6c1aa..93c0a515 100644
--- a/src/glade-window.c
+++ b/src/glade-window.c
@@ -52,7 +52,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"
@@ -1928,19 +1927,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)
{
@@ -2064,7 +2050,6 @@ static const gchar ui_info[] =
" <placeholder name='ProjectsListPlaceholder'/>"
" </menu>"
" <menu action='HelpMenu'>"
-" <menuitem action='HelpContents'/>"
" <menuitem action='DeveloperReference'/>"
" <separator/>"
" <menuitem action='About'/>"
@@ -2109,9 +2094,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) }
};