[glade/glade-3-8] * src/glade-window.c: Removed user manual link from Help menu, it's not online as far as I know



commit 2d2f2e8f3a5b383fe11452a5b64b44f19e10afe9
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date:   Fri Feb 4 03:47:36 2011 +0900

    	* 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

 ChangeLog          |    4 ++++
 src/glade-window.c |   18 ------------------
 2 files changed, 4 insertions(+), 18 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 6a8e1bb..eaf4fa6 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 5de6c1a..93c0a51 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) }
 };



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]