]> Pileus Git - ~andy/gtk/commitdiff
make print-to-pdf show up again
authorMatthias Clasen <matthiasc@src.gnome.org>
Fri, 16 Jun 2006 03:40:47 +0000 (03:40 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Fri, 16 Jun 2006 03:40:47 +0000 (03:40 +0000)
ChangeLog
ChangeLog.pre-2-10
gtk/gtkprintoperation-unix.c

index fcae612ba883d09ebf263abe0b2a964673251245..538e8f4d9564a1f06007d7e91f7a404721bfb195 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-06-15  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkprintoperation-unix.c: Set the GENERATE_PDF capability
+       when creating a print dialog.  (noted by Yevgen Muntyan)
+
 2006-06-15  Carlos Garnacho  <carlosg@gnome.org>
 
        * gtk/gtknotebook.c (gtk_notebook_motion_notify): use
index fcae612ba883d09ebf263abe0b2a964673251245..538e8f4d9564a1f06007d7e91f7a404721bfb195 100644 (file)
@@ -1,3 +1,8 @@
+2006-06-15  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkprintoperation-unix.c: Set the GENERATE_PDF capability
+       when creating a print dialog.  (noted by Yevgen Muntyan)
+
 2006-06-15  Carlos Garnacho  <carlosg@gnome.org>
 
        * gtk/gtknotebook.c (gtk_notebook_motion_notify): use
index 15338564a0ff411f7f67793a9e2b7c286ccdb8bb..7ae019989e206d8778ece78f6af209ed973300de 100644 (file)
@@ -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),