From: Carlos Garcia Campos Date: Sat, 25 Aug 2007 14:10:56 +0000 (+0000) Subject: Reset also cups setting to 1 when printing multiple pages per sheet. Fixes X-Git-Tag: EVINCE_2_19_4~6 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=aa5d60b07e188daa855d269e7e9b2da4388ed070;p=evince.git Reset also cups setting to 1 when printing multiple pages per sheet. Fixes 2007-08-25 Carlos Garcia Campos * shell/ev-window.c: (ev_window_print_send): Reset also cups setting to 1 when printing multiple pages per sheet. Fixes bug #468853. svn path=/trunk/; revision=2640 --- diff --git a/ChangeLog b/ChangeLog index 811d2e5e..da0444ac 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2007-08-25 Carlos Garcia Campos + + * shell/ev-window.c: (ev_window_print_send): + + Reset also cups setting to 1 when printing multiple pages per + sheet. Fixes bug #468853. + 2007-08-24 Carlos Garcia Campos * libdocument/ev-document-misc.c: diff --git a/shell/ev-window.c b/shell/ev-window.c index 1032d518..b3906443 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -2246,8 +2246,10 @@ ev_window_print_send (EvWindow *window, gtk_print_settings_set_collate (settings, FALSE); if (capabilities & EV_FILE_EXPORTER_CAN_REVERSE) gtk_print_settings_set_reverse (settings, FALSE); - if (capabilities & EV_FILE_EXPORTER_CAN_NUMBER_UP) + if (capabilities & EV_FILE_EXPORTER_CAN_NUMBER_UP) { gtk_print_settings_set_number_up (settings, 1); + gtk_print_settings_set_int (settings, "cups-"GTK_PRINT_SETTINGS_NUMBER_UP, 1); + } if (window->priv->print_preview) { gchar *uri;