aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/EphyBrowser.cpp
diff options
context:
space:
mode:
authorChristian Persch <chpe@svn.gnome.org>2007-01-24 01:41:33 +0800
committerChristian Persch <chpe@src.gnome.org>2007-01-24 01:41:33 +0800
commitdfb53894ddca40e48d6b895a5f35d71897318bd9 (patch)
treefb88f3d196eb2befc54eb104ded479c99dba7d27 /embed/mozilla/EphyBrowser.cpp
parent829181d6405e9d5709a8242282479e8b8e9b25ea (diff)
downloadgsoc2013-epiphany-dfb53894ddca40e48d6b895a5f35d71897318bd9.tar
gsoc2013-epiphany-dfb53894ddca40e48d6b895a5f35d71897318bd9.tar.gz
gsoc2013-epiphany-dfb53894ddca40e48d6b895a5f35d71897318bd9.tar.bz2
gsoc2013-epiphany-dfb53894ddca40e48d6b895a5f35d71897318bd9.tar.lz
gsoc2013-epiphany-dfb53894ddca40e48d6b895a5f35d71897318bd9.tar.xz
gsoc2013-epiphany-dfb53894ddca40e48d6b895a5f35d71897318bd9.tar.zst
gsoc2013-epiphany-dfb53894ddca40e48d6b895a5f35d71897318bd9.zip
Clear some print settings in the settings we hand to the print job, so
2007-01-23 Christian Persch <chpe@svn.gnome.org> * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/GeckoPrintService.cpp: * embed/mozilla/GeckoPrintService.h: * embed/mozilla/GeckoPrintSession.cpp: Clear some print settings in the settings we hand to the print job, so they don't get applied twice. Bug #394818. Prepare for printing to PDF (#if 0'd until the gecko bug is fixed). svn path=/trunk/; revision=6844
Diffstat (limited to 'embed/mozilla/EphyBrowser.cpp')
-rw-r--r--embed/mozilla/EphyBrowser.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/embed/mozilla/EphyBrowser.cpp b/embed/mozilla/EphyBrowser.cpp
index a233279a3..c04a18710 100644
--- a/embed/mozilla/EphyBrowser.cpp
+++ b/embed/mozilla/EphyBrowser.cpp
@@ -748,6 +748,7 @@ nsresult EphyBrowser::SetPrintPreviewMode (PRBool previewMode)
EphyEmbedShell *shell = ephy_embed_shell_get_default ();
rv = GeckoPrintService::TranslateSettings (ephy_embed_shell_get_print_settings (shell),
ephy_embed_shell_get_page_setup (shell),
+ NULL,
nsCString(),
PR_FALSE,
settings);