aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-02-02 03:51:55 +0800
committerChristian Persch <chpe@src.gnome.org>2005-02-02 03:51:55 +0800
commit551c3257365e4410049cd0c2efe01fe8c703bd03 (patch)
treec581039a960d1448093c5ab557919753605851b6
parented8dda32836a42ac73365719f399685746bce939 (diff)
downloadgsoc2013-epiphany-551c3257365e4410049cd0c2efe01fe8c703bd03.tar
gsoc2013-epiphany-551c3257365e4410049cd0c2efe01fe8c703bd03.tar.gz
gsoc2013-epiphany-551c3257365e4410049cd0c2efe01fe8c703bd03.tar.bz2
gsoc2013-epiphany-551c3257365e4410049cd0c2efe01fe8c703bd03.tar.lz
gsoc2013-epiphany-551c3257365e4410049cd0c2efe01fe8c703bd03.tar.xz
gsoc2013-epiphany-551c3257365e4410049cd0c2efe01fe8c703bd03.tar.zst
gsoc2013-epiphany-551c3257365e4410049cd0c2efe01fe8c703bd03.zip
Don't disable print preview if print setup is locked down. Fixes bug
2005-02-01 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (update_print_actions): Don't disable print preview if print setup is locked down. Fixes bug #165552.
-rw-r--r--ChangeLog7
-rw-r--r--src/ephy-window.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e48577f55..e1e5a449a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2005-02-01 Christian Persch <chpe@cvs.gnome.org>
+ * 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 <chpe@cvs.gnome.org>
+
* src/ephy-window.c: (ephy_window_key_press_event):
Don't show the menubar with F10 in lockdown mode.
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);