aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-window.c
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2012-01-18 19:01:22 +0800
committerXan Lopez <xan@igalia.com>2012-01-18 19:01:22 +0800
commit67798e67eb2433e8367111156a63ffee76e9e5b2 (patch)
tree4a11de69c4042ab67f248aaf835bd9d041b154f4 /src/ephy-window.c
parenteae947e94cd0343801cfad4ee3cd4ff656ad734b (diff)
downloadgsoc2013-epiphany-67798e67eb2433e8367111156a63ffee76e9e5b2.tar
gsoc2013-epiphany-67798e67eb2433e8367111156a63ffee76e9e5b2.tar.gz
gsoc2013-epiphany-67798e67eb2433e8367111156a63ffee76e9e5b2.tar.bz2
gsoc2013-epiphany-67798e67eb2433e8367111156a63ffee76e9e5b2.tar.lz
gsoc2013-epiphany-67798e67eb2433e8367111156a63ffee76e9e5b2.tar.xz
gsoc2013-epiphany-67798e67eb2433e8367111156a63ffee76e9e5b2.tar.zst
gsoc2013-epiphany-67798e67eb2433e8367111156a63ffee76e9e5b2.zip
Remove Print Preview item from the super menu
It's already accessible from the Print dialog itself, so there's really no need to duplicate it.
Diffstat (limited to 'src/ephy-window.c')
-rw-r--r--src/ephy-window.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 7b434b4b2..4ff7ce3fc 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -129,9 +129,6 @@ static const GtkActionEntry ephy_menu_entries [] = {
{ "FilePrintSetup", STOCK_PRINT_SETUP, N_("Page Set_up"), NULL,
N_("Setup the page settings for printing"),
G_CALLBACK (window_cmd_file_print_setup) },
- { "FilePrintPreview", GTK_STOCK_PRINT_PREVIEW, N_("Print Pre_view"),"<control><shift>P",
- N_("Print preview"),
- G_CALLBACK (window_cmd_file_print_preview) },
{ "FilePrint", GTK_STOCK_PRINT, N_("_Print…"), "<control>P",
N_("Print the current page"),
G_CALLBACK (window_cmd_file_print) },
@@ -1914,8 +1911,6 @@ sync_tab_load_status (EphyWebView *view,
gtk_action_set_sensitive (action, loading);
/* disable print while loading, see bug #116344 */
- action = gtk_action_group_get_action (action_group, "FilePrintPreview");
- ephy_action_change_sensitivity_flags (action, SENS_FLAG_LOADING, loading);
action = gtk_action_group_get_action (action_group, "FilePrint");
ephy_action_change_sensitivity_flags (action, SENS_FLAG_LOADING, loading);