From: Carlos Garcia Campos Date: Wed, 8 Nov 2006 11:53:13 +0000 (+0000) Subject: Enable print to a PDF. Fixes bug #332121. X-Git-Tag: EVINCE_0_7_0~77 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=d47bc2205d248b34dbfcdd349473f54d45d5ec70;p=evince.git 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. --- 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);