pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Printing and www/firefox3



I have a problem that firefox 3 crashes when I attempt any
printing (preview, page setup, print).

To work around the problem I had to patch firefox3, and disable
cups in ~/.gtkrc-2.0:

gtk-print-backends="file,lpr"

This is with gtk2+-2.14.4.

Any ideas what could be wrong?

--
Kind regards,

Yorick Hardy
--- widget/src/gtk2/nsPrintSettingsGTK.cpp.orig 2008-11-11 17:30:01.000000000 
+0200
+++ widget/src/gtk2/nsPrintSettingsGTK.cpp      2008-11-11 18:31:15.000000000 
+0200
@@ -91,6 +91,8 @@
   mPaperSize = moz_gtk_paper_size_copy_to_new_custom(defaultPaperSize);
   gtk_paper_size_free(defaultPaperSize);
   SaveNewPageSize();
+
+  SetupSilentPrinting();
 }
 
 /** ---------------------------------------------------


Home | Main Index | Thread Index | Old Index