[evince/gnome3-style] Remove Contents item from the gear menu
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince/gnome3-style] Remove Contents item from the gear menu
- Date: Wed, 2 Jan 2013 18:42:15 +0000 (UTC)
commit 1941269a5d847c39db2788a61ba926eac871e13e
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 fa89c81..015907d 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -4718,14 +4718,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);
@@ -5889,10 +5881,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]