[evince] Make "Shrink to Printable Area" default option for Page Scaling



commit 58efe0366297a05754efa3f9a839c9dc57e69fdf
Author: Marek Kasik <mkasik redhat com>
Date:   Mon Sep 13 14:50:38 2010 +0200

    Make "Shrink to Printable Area" default option for Page Scaling
    
    Shrink big pages to printable area by default.

 libview/ev-print-operation.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libview/ev-print-operation.c b/libview/ev-print-operation.c
index b39aa4a..d14c9e7 100644
--- a/libview/ev-print-operation.c
+++ b/libview/ev-print-operation.c
@@ -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;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]