chromium-browser-stable/chromium-ps-print.patch

11 lines
628 B
Diff
Raw Normal View History

2017-01-31 10:51:58 +03:00
--- chromium-56.0.2924.76/chrome/browser/ui/libgtkui/print_dialog_gtk.cc.orig 2017-01-30 23:25:10.318135528 +0300
+++ chromium-56.0.2924.76/chrome/browser/ui/libgtkui/print_dialog_gtk.cc 2017-01-30 23:23:51.453172506 +0300
@@ -348,6 +348,7 @@ void PrintDialogGtk2::ShowDialog(
2015-09-07 09:49:47 +03:00
// Since we only generate PDF, only show printers that support PDF.
// TODO(thestig) Add more capabilities to support?
GtkPrintCapabilities cap = static_cast<GtkPrintCapabilities>(
+ GTK_PRINT_CAPABILITY_GENERATE_PS |
GTK_PRINT_CAPABILITY_GENERATE_PDF |
GTK_PRINT_CAPABILITY_PAGE_SET |
GTK_PRINT_CAPABILITY_COPIES |