diff options
author | Matthias Clasen <mclasen@redhat.com> | 2006-06-12 16:47:41 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2006-06-12 16:47:41 +0000 |
commit | c6d1d9dd011f80b66446853841aee9a441dd95fa (patch) | |
tree | fe2a9033778049d3974a8e77b368dd07d5efce5e /gtk/gtkprintjob.h | |
parent | 8d22851ae696a5f6298ba1027f5c7566d463aa3e (diff) | |
download | gtk+-c6d1d9dd011f80b66446853841aee9a441dd95fa.tar.gz |
Add a GTK_PRINT_CAPABILITY_GENERATE_PDF capability.
2006-06-12 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkprintjob.h: Add a GTK_PRINT_CAPABILITY_GENERATE_PDF
capability.
* gtk/gtkprintunixdialog.c: Use it here to hide "Print to PDF"
from the printer list. (#339592, Christian Persch)
Diffstat (limited to 'gtk/gtkprintjob.h')
-rw-r--r-- | gtk/gtkprintjob.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/gtk/gtkprintjob.h b/gtk/gtkprintjob.h index 3b169af00a..758fa5387c 100644 --- a/gtk/gtkprintjob.h +++ b/gtk/gtkprintjob.h @@ -36,11 +36,12 @@ G_BEGIN_DECLS typedef enum { - GTK_PRINT_CAPABILITY_PAGE_SET = 1 << 0, - GTK_PRINT_CAPABILITY_COPIES = 1 << 1, - GTK_PRINT_CAPABILITY_COLLATE = 1 << 2, - GTK_PRINT_CAPABILITY_REVERSE = 1 << 3, - GTK_PRINT_CAPABILITY_SCALE = 1 << 4 + GTK_PRINT_CAPABILITY_PAGE_SET = 1 << 0, + GTK_PRINT_CAPABILITY_COPIES = 1 << 1, + GTK_PRINT_CAPABILITY_COLLATE = 1 << 2, + GTK_PRINT_CAPABILITY_REVERSE = 1 << 3, + GTK_PRINT_CAPABILITY_SCALE = 1 << 4, + GTK_PRINT_CAPABILITY_GENERATE_PDF = 1 << 5 } GtkPrintCapabilities; typedef struct _GtkPrintJob GtkPrintJob; |