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



commit 815363dfa71b4513681a0db06fc79619a3103efd
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date:   Fri Feb 4 03:39:13 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.

 ChangeLog          |    4 ++++
 src/glade-window.c |   21 ++-------------------
 2 files changed, 6 insertions(+), 19 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 11dbddd..411a92e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -28,6 +28,10 @@
 	* plugins/gtk+/gtk+.xml.in: Dont sync transient-for property on GtkWindow, this
 	  can cause crashes at project destroy time.
 
+	* 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-02-02  Juan Pablo Ugarte <juanpablougarte gmail com>
 
 	* gladeui/glade-design-layout.c:
diff --git a/src/glade-window.c b/src/glade-window.c
index e39dde6..7e04f52 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)}



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