[evince] Remove Contents item from the gear menu



commit 6c0b4f8562046dbbe2aeb25e87b243282ebb83a2
Author: William Jon McCann <jmccann redhat com>
Date:   Wed Jan 2 10:35:00 2013 -0500

    Remove Contents item from the gear menu
    
    There is already a help menu item and having an item
    named Contents that isn't related to the table of contents in
    a document is very confusing.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=691020

 shell/ev-window.c   |   12 ------------
 shell/evince-ui.xml |    1 -
 2 files changed, 0 insertions(+), 13 deletions(-)
---
diff --git a/shell/ev-window.c b/shell/ev-window.c
index 1321fcd..2593be2 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -4682,14 +4682,6 @@ ev_window_cmd_view_autoscroll (GtkAction *action, EvWindow *ev_window)
 }
 
 static void
-ev_window_cmd_help_contents (GtkAction *action, EvWindow *ev_window)
-{
-        ev_application_show_help (EV_APP,
-                                  gtk_widget_get_screen (GTK_WIDGET (ev_window)),
-                                  NULL);
-}
-
-static void
 ev_window_cmd_leave_fullscreen (GtkAction *action, EvWindow *window)
 {
 	ev_window_stop_fullscreen (window, TRUE);
@@ -5864,10 +5856,6 @@ static const GtkActionEntry entries[] = {
 	  N_("Add a bookmark for the current page"),
 	  G_CALLBACK (ev_window_cmd_bookmarks_add) },
 
-	/* Help menu */
-	{ "HelpContents", GTK_STOCK_HELP, N_("_Contents"), "F1", NULL,
-	  G_CALLBACK (ev_window_cmd_help_contents) },
-
 	{ "HelpAbout", GTK_STOCK_ABOUT, N_("_About"), NULL, NULL,
 	  G_CALLBACK (ev_window_cmd_help_about) },
 
diff --git a/shell/evince-ui.xml b/shell/evince-ui.xml
index 7dc61c2..45a1a29 100644
--- a/shell/evince-ui.xml
+++ b/shell/evince-ui.xml
@@ -28,7 +28,6 @@
     <menuitem name="FileCloseWindowMenu" action="FileCloseWindow"/>
     <separator/>
     <menuitem name="HelpAboutMenu" action="HelpAbout"/>
-    <menuitem name="HelpContentsMenu" action="HelpContents"/>
   </popup>
 
   <popup name="ViewMenuPopup">



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