From: Matthias Clasen Date: Fri, 16 Jun 2006 03:40:47 +0000 (+0000) Subject: make print-to-pdf show up again X-Git-Url: http://pileus.org/git/?a=commitdiff_plain;h=da191d13deaf4401bc10b7efbbcae126ceca93a3;p=~andy%2Fgtk make print-to-pdf show up again --- diff --git a/ChangeLog b/ChangeLog index fcae612ba..538e8f4d9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-06-15 Matthias Clasen + + * gtk/gtkprintoperation-unix.c: Set the GENERATE_PDF capability + when creating a print dialog. (noted by Yevgen Muntyan) + 2006-06-15 Carlos Garnacho * gtk/gtknotebook.c (gtk_notebook_motion_notify): use diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index fcae612ba..538e8f4d9 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +2006-06-15 Matthias Clasen + + * gtk/gtkprintoperation-unix.c: Set the GENERATE_PDF capability + when creating a print dialog. (noted by Yevgen Muntyan) + 2006-06-15 Carlos Garnacho * gtk/gtknotebook.c (gtk_notebook_motion_notify): use diff --git a/gtk/gtkprintoperation-unix.c b/gtk/gtkprintoperation-unix.c index 15338564a..7ae019989 100644 --- a/gtk/gtkprintoperation-unix.c +++ b/gtk/gtkprintoperation-unix.c @@ -1,5 +1,6 @@ /* GTK - The GIMP Toolkit - * gtkprintoperation-unix.c: Print Operation Details for Unix and Unix like platforms + * gtkprintoperation-unix.c: Print Operation Details for Unix + * and Unix-like platforms * Copyright (C) 2006, Red Hat, Inc. * * This library is free software; you can redistribute it and/or @@ -313,7 +314,8 @@ get_print_dialog (GtkPrintOperation *op, GTK_PRINT_CAPABILITY_COPIES | GTK_PRINT_CAPABILITY_COLLATE | GTK_PRINT_CAPABILITY_REVERSE | - GTK_PRINT_CAPABILITY_SCALE); + GTK_PRINT_CAPABILITY_SCALE | + GTK_PRINT_CAPABILITY_GENERATE_PDF); if (priv->print_settings) gtk_print_unix_dialog_set_settings (GTK_PRINT_UNIX_DIALOG (pd),