diff options
author | Carlos Garcia Campos <carlosgc@gnome.org> | 2007-08-25 14:10:56 (GMT) |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@src.gnome.org> | 2007-08-25 14:10:56 (GMT) |
commit | aa5d60b07e188daa855d269e7e9b2da4388ed070 (patch) | |
tree | b167b2e16c67334e54208371ce050f4802b41c96 /shell | |
parent | b96c98c1a706bd8976a2c17fc121840c32454982 (diff) |
Reset also cups setting to 1 when printing multiple pages per sheet. Fixes
2007-08-25 Carlos Garcia Campos <carlosgc@gnome.org>
* 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
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ev-window.c | 4 |
1 files changed, 3 insertions, 1 deletions
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; |