]> www.fi.muni.cz Git - evince.git/commitdiff
Enable print to a PDF. Fixes bug #332121.
authorCarlos Garcia Campos <carlosgc@gnome.org>
Wed, 8 Nov 2006 11:53:13 +0000 (11:53 +0000)
committerCarlos Garcia Campos <carlosgc@src.gnome.org>
Wed, 8 Nov 2006 11:53:13 +0000 (11:53 +0000)
2006-11-08  Carlos Garcia Campos  <carlosgc@gnome.org>
* shell/ev-window.c: (ev_window_print_range):
Enable print to a PDF. Fixes bug #332121.

ChangeLog
shell/ev-window.c

index d22f7cb1d0025eec429691b8b889891a91d775ea..7c1ac93396e2a217e16e3a24a99dc31e2a1a05e3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-11-08  Carlos Garcia Campos  <carlosgc@gnome.org>
+
+       * shell/ev-window.c: (ev_window_print_range):
+
+       Enable print to a PDF. Fixes bug #332121.
+
 2006-10-31  Carlos Garcia Campos  <carlosgc@gnome.org>
 
        * shell/ev-application-service.xml:
index dd8ae817d99c74213ccba28c3d9470e15240addc..dcf687e9e35c7cac430be2558b3ef74426064f7d 100644 (file)
@@ -1682,7 +1682,8 @@ ev_window_print_range (EvWindow *ev_window, int first_page, int last_page)
                                                       GTK_PRINT_CAPABILITY_COLLATE |
                                                       GTK_PRINT_CAPABILITY_REVERSE |
                                                       GTK_PRINT_CAPABILITY_SCALE |
-                                                      GTK_PRINT_CAPABILITY_GENERATE_PS);
+                                                      GTK_PRINT_CAPABILITY_GENERATE_PS |
+                                                      GTK_PRINT_CAPABILITY_GENERATE_PDF);
        gtk_print_unix_dialog_set_current_page (GTK_PRINT_UNIX_DIALOG (dialog),
                                                current_page);