From d47bc2205d248b34dbfcdd349473f54d45d5ec70 Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Wed, 8 Nov 2006 11:53:13 +0000 Subject: [PATCH] Enable print to a PDF. Fixes bug #332121. 2006-11-08 Carlos Garcia Campos * shell/ev-window.c: (ev_window_print_range): Enable print to a PDF. Fixes bug #332121. --- ChangeLog | 6 ++++++ shell/ev-window.c | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index d22f7cb1..7c1ac933 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-11-08 Carlos Garcia Campos + + * shell/ev-window.c: (ev_window_print_range): + + Enable print to a PDF. Fixes bug #332121. + 2006-10-31 Carlos Garcia Campos * shell/ev-application-service.xml: diff --git a/shell/ev-window.c b/shell/ev-window.c index dd8ae817..dcf687e9 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -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); -- 2.43.5