diff options
author | Christian Persch <chpe@gnome.org> | 2007-07-15 06:43:55 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2007-07-15 06:43:55 +0800 |
commit | 843c8e008f30143d928aef1fc41f6fa6499c277c (patch) | |
tree | dca7889f6277cc9404e7914368c8804f72c46206 | |
parent | 0f5899cc261673d76f5304daddcf917fd72e025e (diff) | |
download | gsoc2013-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
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | embed/mozilla/mozilla-embed-single.cpp | 3 |
2 files changed, 10 insertions, 0 deletions
@@ -1,5 +1,12 @@ 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). + +2007-07-15 Christian Persch <chpe@gnome.org> + * data/chrome/about.xhtml: * data/epiphany.desktop.in.in: * data/icons/16x16/apps/Makefile.am: 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"); |