From aa5d60b07e188daa855d269e7e9b2da4388ed070 Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Sat, 25 Aug 2007 14:10:56 +0000 Subject: [PATCH] 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 --- ChangeLog | 7 +++++++ shell/ev-window.c | 4 +++- 2 files changed, 10 insertions(+), 1 deletion(-) 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; -- 2.43.5