]> www.fi.muni.cz Git - evince.git/commitdiff
Reset also cups setting to 1 when printing multiple pages per sheet. Fixes
authorCarlos Garcia Campos <carlosgc@gnome.org>
Sat, 25 Aug 2007 14:10:56 +0000 (14:10 +0000)
committerCarlos Garcia Campos <carlosgc@src.gnome.org>
Sat, 25 Aug 2007 14:10:56 +0000 (14:10 +0000)
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

ChangeLog
shell/ev-window.c

index 811d2e5e8e8d4faf27132d5c01cdda18990acb4b..da0444acf292a7f2ba335f164187b520daa1be32 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+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.
+       
 2007-08-24  Carlos Garcia Campos  <carlosgc@gnome.org>
 
        * libdocument/ev-document-misc.c:
index 1032d5186cc25a7107a8bbd9c9b224ed1835e7ae..b3906443af3dccac0b2e08bf4ef3317d62088130 100644 (file)
@@ -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;