]> www.fi.muni.cz Git - evince.git/blobdiff - shell/ev-window.c
Enable print to a PDF. Fixes bug #332121.
[evince.git] / shell / ev-window.c
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);