diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | shell/ev-window.c | 4 |
2 files changed, 9 insertions, 2 deletions
@@ -2,6 +2,13 @@ * shell/ev-window.c: (ev_window_print_range): + Revert my previuos commit, since printing to PDF is not supported by + evince yet. + +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> diff --git a/shell/ev-window.c b/shell/ev-window.c index dcf687e..ecd714e 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -1682,8 +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_PDF); + GTK_PRINT_CAPABILITY_GENERATE_PS); + gtk_print_unix_dialog_set_current_page (GTK_PRINT_UNIX_DIALOG (dialog), current_page); |