diff options
author | Adrian Johnson <ajohnson@redneon.com> | 2010-12-29 01:18:02 +1030 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2011-01-03 08:14:34 -0500 |
commit | 856cc65f63510233693ff457551136a3f0768bb8 (patch) | |
tree | 3fc2b613042466c8ff602646fd9b4bdbca372336 /gtk/gtkprinter.c | |
parent | 3fff4bd0915deeb5b009557113eb98d72b0fe1cd (diff) | |
download | gtk+-856cc65f63510233693ff457551136a3f0768bb8.tar.gz |
Set "accepts-pdf" property to true only if supported by the print backend
Diffstat (limited to 'gtk/gtkprinter.c')
-rw-r--r-- | gtk/gtkprinter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkprinter.c b/gtk/gtkprinter.c index 7e8c4d0a8a..fdb6c801cb 100644 --- a/gtk/gtkprinter.c +++ b/gtk/gtkprinter.c @@ -145,7 +145,7 @@ gtk_printer_class_init (GtkPrinterClass *class) g_param_spec_boolean ("accepts-pdf", P_("Accepts PDF"), P_("TRUE if this printer can accept PDF"), - TRUE, + FALSE, GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); g_object_class_install_property (G_OBJECT_CLASS (class), PROP_ACCEPTS_PS, @@ -256,7 +256,7 @@ gtk_printer_init (GtkPrinter *printer) priv->is_accepting_jobs = TRUE; priv->is_new = TRUE; priv->has_details = FALSE; - priv->accepts_pdf = TRUE; + priv->accepts_pdf = FALSE; priv->accepts_ps = TRUE; priv->state_message = NULL; |