From 551c3257365e4410049cd0c2efe01fe8c703bd03 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Tue, 1 Feb 2005 19:51:55 +0000 Subject: Don't disable print preview if print setup is locked down. Fixes bug 2005-02-01 Christian Persch * src/ephy-window.c: (update_print_actions): Don't disable print preview if print setup is locked down. Fixes bug #165552. --- ChangeLog | 7 +++++++ src/ephy-window.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index e48577f55..e1e5a449a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2005-02-01 Christian Persch + + * src/ephy-window.c: (update_print_actions): + + Don't disable print preview if print setup is locked down. + Fixes bug #165552. + 2005-02-01 Christian Persch * src/ephy-window.c: (ephy_window_key_press_event): diff --git a/src/ephy-window.c b/src/ephy-window.c index 7a108887e..4a7adbc45 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -1026,7 +1026,7 @@ update_print_actions (EphyWindow *window, action = gtk_action_group_get_action (action_group, "FilePrintSetup"); g_object_set (action, "sensitive", printing && print_setup, NULL); action = gtk_action_group_get_action (action_group, "FilePrintPreview"); - g_object_set (action, "sensitive", enable && printing && print_setup, NULL); + g_object_set (action, "sensitive", enable && printing, NULL); action = gtk_action_group_get_action (action_group, "FilePrint"); g_object_set (action, "sensitive", enable && printing, NULL); -- cgit v1.2.3