Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNickolay V. Shmyrev <nshmyrev@yandex.ru>2009-05-03 00:18:50 (GMT)
committer Nickolay V. Shmyrev <nshmyrev@yandex.ru>2009-05-03 00:18:50 (GMT)
commit461ab9fcec94601f57b15b3d84d8e05457cf14ad (patch)
treedab3fb57f2f142f68f42ace0cdc241687ac670ee
parent99cd187a3dce1a39c160869bf619e2ca0995c2b0 (diff)
[ui] Renamed menu entry to Page Setup
To match with gtk+ dialog title and other applications like gedit. Fixes GNOME bug #581109
-rw-r--r--data/evince-ui.xml2
-rw-r--r--shell/ev-window.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/data/evince-ui.xml b/data/evince-ui.xml
index 0631825..7ac4edb 100644
--- a/data/evince-ui.xml
+++ b/data/evince-ui.xml
@@ -5,7 +5,7 @@
<menuitem name="FileOpenCopyMenu" action="FileOpenCopy"/>
<menuitem name="FileSaveAsMenu" action="FileSaveAs"/>
<separator/>
- <menuitem name="FilePrintSetupMenu" action="FilePrintSetup"/>
+ <menuitem name="FilePageSetupMenu" action="FilePageSetup"/>
<menuitem name="FilePrintMenu" action="FilePrint"/>
<separator/>
<menuitem name="FilePropertiesMenu" action="FileProperties"/>
diff --git a/shell/ev-window.c b/shell/ev-window.c
index 41d9357..4758b18 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -384,7 +384,7 @@ ev_window_setup_action_sensitivity (EvWindow *ev_window)
/* File menu */
ev_window_set_action_sensitive (ev_window, "FileOpenCopy", has_document);
ev_window_set_action_sensitive (ev_window, "FileSaveAs", has_document && ok_to_copy);
- ev_window_set_action_sensitive (ev_window, "FilePrintSetup", has_pages && ok_to_print);
+ ev_window_set_action_sensitive (ev_window, "FilePageSetup", has_pages && ok_to_print);
ev_window_set_action_sensitive (ev_window, "FilePrint", has_pages && ok_to_print);
ev_window_set_action_sensitive (ev_window, "FileProperties", has_document && has_properties);
@@ -4770,7 +4770,7 @@ static const GtkActionEntry entries[] = {
{ "FileSaveAs", GTK_STOCK_SAVE_AS, N_("_Save a Copy..."), "<control>S",
N_("Save a copy of the current document"),
G_CALLBACK (ev_window_cmd_save_as) },
- { "FilePrintSetup", NULL, N_("Print Set_up..."), NULL,
+ { "FilePageSetup", NULL, N_("Page Set_up..."), NULL,
N_("Setup the page settings for printing"),
G_CALLBACK (ev_window_cmd_file_print_setup) },
{ "FilePrint", GTK_STOCK_PRINT, N_("_Print..."), "<control>P",