From aa5d60b07e188daa855d269e7e9b2da4388ed070 Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Sat, 25 Aug 2007 14:10:56 +0000 Subject: 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 --- (limited to 'shell') diff --git a/shell/ev-window.c b/shell/ev-window.c index 1032d51..b390644 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; -- cgit v0.9.1