]> www.fi.muni.cz Git - evince.git/commitdiff
Make "Shrink to Printable Area" default option for Page Scaling
authorMarek Kasik <mkasik@redhat.com>
Mon, 13 Sep 2010 12:53:21 +0000 (14:53 +0200)
committerMarek Kasik <mkasik@redhat.com>
Mon, 13 Sep 2010 12:53:21 +0000 (14:53 +0200)
Shrink big pages to printable area by default.

libview/ev-print-operation.c

index b39aa4ae89f7c563fd4a4458cfec79610a3c93f6..d14c9e7b5c8c9514f6054ff9470bcae7fef81bd9 100644 (file)
@@ -1846,7 +1846,7 @@ ev_print_operation_print_create_custom_widget (EvPrintOperationPrint *print,
        gboolean          use_source_size;
 
        settings = gtk_print_operation_get_print_settings (print->op);
-       page_scale = gtk_print_settings_get_int_with_default (settings, EV_PRINT_SETTING_PAGE_SCALE, 0);
+       page_scale = gtk_print_settings_get_int_with_default (settings, EV_PRINT_SETTING_PAGE_SCALE, 1);
        autorotate = gtk_print_settings_has_key (settings, EV_PRINT_SETTING_AUTOROTATE) ?
                gtk_print_settings_get_bool (settings, EV_PRINT_SETTING_AUTOROTATE) :
                TRUE;