aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/EphyBrowser.cpp
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2004-10-11 00:18:26 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2004-10-11 00:18:26 +0800
commit96f1c46c7fdd0f85636bd30d3c7de89eccddabeb (patch)
tree4556cbacbd32a46844c8b3d10137882b9942c7c4 /embed/mozilla/EphyBrowser.cpp
parent64c45341356fbc6445aedb86b38f707d29510808 (diff)
downloadgsoc2013-epiphany-96f1c46c7fdd0f85636bd30d3c7de89eccddabeb.tar
gsoc2013-epiphany-96f1c46c7fdd0f85636bd30d3c7de89eccddabeb.tar.gz
gsoc2013-epiphany-96f1c46c7fdd0f85636bd30d3c7de89eccddabeb.tar.bz2
gsoc2013-epiphany-96f1c46c7fdd0f85636bd30d3c7de89eccddabeb.tar.lz
gsoc2013-epiphany-96f1c46c7fdd0f85636bd30d3c7de89eccddabeb.tar.xz
gsoc2013-epiphany-96f1c46c7fdd0f85636bd30d3c7de89eccddabeb.tar.zst
gsoc2013-epiphany-96f1c46c7fdd0f85636bd30d3c7de89eccddabeb.zip
reviewed by: Christian Persch <chpe@cvs.gnome.org>
2004-10-10 Marco Pesenti Gritti <marco@gnome.org> reviewed by: Christian Persch <chpe@cvs.gnome.org> * data/glade/print.glade: * embed/ephy-embed-single.c: (ephy_embed_single_get_printer_list): * embed/ephy-embed-single.h: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EphyUtils.cpp: * embed/mozilla/EphyUtils.h: * embed/mozilla/FilePicker.cpp: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/MozillaPrivate.cpp: * embed/mozilla/MozillaPrivate.h: * embed/mozilla/PrintingPromptService.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: * embed/print-dialog.c: (ephy_print_dialog_new): * lib/ephy-dialog.c: (set_combo_box_from_value): Move current MozillaPrivate helpers to EphyUtils. Use MozillaPrivate for stuff that needs mozilla internal strings. Support multiple printers in the print dialog. This is actually a bug fix because on several distributions using hardcoded Poscript/default will simply not work at all.
Diffstat (limited to 'embed/mozilla/EphyBrowser.cpp')
-rw-r--r--embed/mozilla/EphyBrowser.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/embed/mozilla/EphyBrowser.cpp b/embed/mozilla/EphyBrowser.cpp
index 655c3b110..040b7615f 100644
--- a/embed/mozilla/EphyBrowser.cpp
+++ b/embed/mozilla/EphyBrowser.cpp
@@ -26,7 +26,6 @@
#include "EphyBrowser.h"
#include "EphyUtils.h"
-#include "MozillaPrivate.h"
#include "ephy-embed.h"
#include "ephy-string.h"
#include "ephy-debug.h"
@@ -330,7 +329,7 @@ nsresult EphyBrowser::SetPrintPreviewMode (PRBool previewMode)
print->GetGlobalPrintSettings (getter_AddRefs(settings));
info = ephy_print_get_print_info ();
- MozillaCollatePrintSettings (info, settings, TRUE);
+ EphyUtils::CollatePrintSettings (info, settings, TRUE);
ephy_print_info_free (info);
rv = print->PrintPreview (nsnull, mDOMWindow, nsnull);