aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorChristian Persch <chpe@gnome.org>2007-07-15 06:43:55 +0800
committerChristian Persch <chpe@src.gnome.org>2007-07-15 06:43:55 +0800
commit843c8e008f30143d928aef1fc41f6fa6499c277c (patch)
treedca7889f6277cc9404e7914368c8804f72c46206 /embed
parent0f5899cc261673d76f5304daddcf917fd72e025e (diff)
downloadgsoc2013-epiphany-843c8e008f30143d928aef1fc41f6fa6499c277c.tar
gsoc2013-epiphany-843c8e008f30143d928aef1fc41f6fa6499c277c.tar.gz
gsoc2013-epiphany-843c8e008f30143d928aef1fc41f6fa6499c277c.tar.bz2
gsoc2013-epiphany-843c8e008f30143d928aef1fc41f6fa6499c277c.tar.lz
gsoc2013-epiphany-843c8e008f30143d928aef1fc41f6fa6499c277c.tar.xz
gsoc2013-epiphany-843c8e008f30143d928aef1fc41f6fa6499c277c.tar.zst
gsoc2013-epiphany-843c8e008f30143d928aef1fc41f6fa6499c277c.zip
Make sure postscript printing is enabled, and the printer list empty (so
2007-07-15 Christian Persch <chpe@gnome.org> * embed/mozilla/mozilla-embed-single.cpp: Make sure postscript printing is enabled, and the printer list empty (so we only get the PostScript/default printer). svn path=/trunk/; revision=7165
Diffstat (limited to 'embed')
-rw-r--r--embed/mozilla/mozilla-embed-single.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/embed/mozilla/mozilla-embed-single.cpp b/embed/mozilla/mozilla-embed-single.cpp
index 9bc622688..529ed1886 100644
--- a/embed/mozilla/mozilla-embed-single.cpp
+++ b/embed/mozilla/mozilla-embed-single.cpp
@@ -641,6 +641,9 @@ impl_init (EphyEmbedSingle *esingle)
{
MozillaEmbedSingle *single = MOZILLA_EMBED_SINGLE (esingle);
+ g_setenv ("MOZILLA_POSTSCRIPT_ENABLED", "1", TRUE);
+ g_unsetenv ("MOZILLA_POSTSCRIPT_PRINTER_LIST");
+
#ifdef MOZ_ENABLE_XPRINT
/* XPrint? No, thanks! */
g_unsetenv ("XPSERVERLIST");