print.tmp.printerfeatures.paper.* is only used from
toolkit/components/printing/content/printjoboptions.js, as a set of available
paper sizes. AFAICS however, that is only used if
nsPrintingPromptService::ShowPrintDialog cannot find nsIPrintDialogService.
Now that the GTK port provides a nsIPrintDialogService, there is no need to
set up print.tmp.printerfeatures.paper.*
Comment on attachment 500694
don't use PS prefs in gtk
However, the way that this patch avoids the arbitrary default adds to the hg.mozilla. org/mozilla- central/ annotate/ a66254dfa588/ modules/ libpref/ src/init/ all.js# l3065
existing confusion. It works because the pref lookup no longer matches the
pref setting. It would be better to remove the pref and the lookup code.
http://
One of the (many) strange things about the print setup code, is that the list printerfeatures .paper. * if a paper_size pref is found, and that will postscript. paper_size" . hg.mozilla. org/mozilla- central/ annotate/ 7a3469118cf3/ widget/ src/gtk2/ nsDeviceContext SpecG.cpp# l898
of (basic standard) paper sizes is only added to
print.tmp.
rarely be anything but "print.
http://
(The initial implementation was added in bug 132563.)
print.tmp. printerfeatures .paper. * is only used from components/ printing/ content/ printjoboptions .js, as a set of available tService: :ShowPrintDialo g cannot find nsIPrintDialogS ervice. ervice, there is no need to printerfeatures .paper. *
toolkit/
paper sizes. AFAICS however, that is only used if
nsPrintingPromp
Now that the GTK port provides a nsIPrintDialogS
set up print.tmp.
So it safe to remove the whole paper_size block hg.mozilla. org/mozilla- central/ annotate/ 7a3469118cf3/ widget/ src/gtk2/ nsDeviceContext SpecG.cpp# l883
http://