]> Pileus Git - ~andy/gtk/commit
Use gtk_printer_accepts_ps here.
authorMatthias Clasen <mclasen@redhat.com>
Mon, 12 Jun 2006 17:45:49 +0000 (17:45 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 12 Jun 2006 17:45:49 +0000 (17:45 +0000)
commit809c8d565fdcc9903d459759710c5573d4041606
treee3c0b862f25b2633e7ace2164c63ef3fd7d64030
parentc6d1d9dd011f80b66446853841aee9a441dd95fa
Use gtk_printer_accepts_ps here.

2006-06-12  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkprintunixdialog.c (is_printer_active): Use
gtk_printer_accepts_ps here.

* modules/printbackends/pdf/gtkprintbackendpdf.c (gtk_print_backend_pdf_init):
Mark the virtual "Print to PDF" printer as not accepting PS.

* gtk/gtk.symbols:
* gtk/gtkprinter.h:
* gtk/gtkprinter.c: Add two new properties accepts-pdf and
accepts-ps (with getters) to allow learning supported formats.
ChangeLog
ChangeLog.pre-2-10
gtk/gtk.symbols
gtk/gtkprinter.c
gtk/gtkprinter.h
gtk/gtkprintunixdialog.c
modules/printbackends/pdf/gtkprintbackendpdf.c