diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2005-07-05 19:33:54 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2005-07-05 19:33:54 +0800 |
commit | 584f55a822f9c65e0c190d1a3668655d64c5c346 (patch) | |
tree | 656b7903bb09d06cfabe767548acb1e1adca195c | |
parent | c1496e9cd3009d78ef624a87db3b50e7fecf76c3 (diff) | |
download | gsoc2013-epiphany-584f55a822f9c65e0c190d1a3668655d64c5c346.tar gsoc2013-epiphany-584f55a822f9c65e0c190d1a3668655d64c5c346.tar.gz gsoc2013-epiphany-584f55a822f9c65e0c190d1a3668655d64c5c346.tar.bz2 gsoc2013-epiphany-584f55a822f9c65e0c190d1a3668655d64c5c346.tar.lz gsoc2013-epiphany-584f55a822f9c65e0c190d1a3668655d64c5c346.tar.xz gsoc2013-epiphany-584f55a822f9c65e0c190d1a3668655d64c5c346.tar.zst gsoc2013-epiphany-584f55a822f9c65e0c190d1a3668655d64c5c346.zip |
There's no printer cmd line entry anymore, no need to lock it down.
2005-07-05 Christian Persch <chpe@cvs.gnome.org>
* embed/mozilla/PrintingPromptService.cpp:
There's no printer cmd line entry anymore, no need to
lock it down.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | embed/mozilla/PrintingPromptService.cpp | 6 |
2 files changed, 9 insertions, 4 deletions
@@ -1,3 +1,10 @@ +2005-07-05 Christian Persch <chpe@cvs.gnome.org> + + * embed/mozilla/PrintingPromptService.cpp: + + There's no printer cmd line entry anymore, no need to + lock it down. + 2005-07-04 Christian Persch <chpe@cvs.gnome.org> * src/ephy-extensions-manager.c: diff --git a/embed/mozilla/PrintingPromptService.cpp b/embed/mozilla/PrintingPromptService.cpp index d7e14fabf..570b15774 100644 --- a/embed/mozilla/PrintingPromptService.cpp +++ b/embed/mozilla/PrintingPromptService.cpp @@ -64,8 +64,7 @@ NS_IMETHODIMP GPrintingPromptService::ShowPrintDialog(nsIDOMWindow *parent, nsIW EphyEmbed *embed = EPHY_EMBED (EphyUtils::FindEmbed (parent)); NS_ENSURE_TRUE (embed, NS_ERROR_FAILURE); - if (!(eel_gconf_get_boolean (CONF_LOCKDOWN_DISABLE_PRINT_SETUP) || - eel_gconf_get_boolean (CONF_LOCKDOWN_DISABLE_COMMAND_LINE))) + if (!eel_gconf_get_boolean (CONF_LOCKDOWN_DISABLE_PRINT_SETUP)) { GtkWidget *gtkParent = EphyUtils::FindGtkParent(parent); NS_ENSURE_TRUE (gtkParent, NS_ERROR_FAILURE); @@ -115,8 +114,7 @@ NS_IMETHODIMP GPrintingPromptService::ShowPageSetup(nsIDOMWindow *parent, nsIPri nsresult rv = NS_ERROR_ABORT; if (eel_gconf_get_boolean (CONF_LOCKDOWN_DISABLE_PRINTING) || - eel_gconf_get_boolean (CONF_LOCKDOWN_DISABLE_PRINT_SETUP) || - eel_gconf_get_boolean (CONF_LOCKDOWN_DISABLE_COMMAND_LINE)) + eel_gconf_get_boolean (CONF_LOCKDOWN_DISABLE_PRINT_SETUP)) { return rv; } |