From 461ab9fcec94601f57b15b3d84d8e05457cf14ad Mon Sep 17 00:00:00 2001 From: "Nickolay V. Shmyrev" Date: Sun, 3 May 2009 04:18:50 +0400 Subject: [PATCH] [ui] Renamed menu entry to Page Setup To match with gtk+ dialog title and other applications like gedit. Fixes GNOME bug #581109 --- data/evince-ui.xml | 2 +- shell/ev-window.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/data/evince-ui.xml b/data/evince-ui.xml index 0631825b..7ac4edb1 100644 --- a/data/evince-ui.xml +++ b/data/evince-ui.xml @@ -5,7 +5,7 @@ - + diff --git a/shell/ev-window.c b/shell/ev-window.c index 41d9357f..4758b183 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..."), "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..."), "P", -- 2.43.0