mirror of
https://abf.rosa.ru/djam/chromium-browser-stable-slava86.git
synced 2025-02-24 16:02:56 +00:00
14 lines
766 B
Diff
14 lines
766 B
Diff
description: add ps printing capability
|
|
author: Salvatore Bonaccorso
|
|
Index: sid/src/chrome/browser/printing/print_dialog_gtk.cc
|
|
===================================================================
|
|
--- sid.orig/src/chrome/browser/ui/libgtk2ui/print_dialog_gtk2.cc 2014-02-13 15:45:02.563430585 +0100
|
|
+++ sid/src/chrome/browser/ui/libgtk2ui/print_dialog_gtk2.cc 2014-02-13 15:45:02.559430585 +0100
|
|
@@ -245,6 +245,7 @@
|
|
// 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 |
|