[eog] Raise initial window size limit to 85% of screen size



commit e08c9d44b0c0cd36674ffd4cac9a473a68018f8e
Author: Felix Riemann <friemann gnome org>
Date:   Fri May 10 14:42:33 2013 +0200

    Raise initial window size limit to 85% of screen size
    
    This makes much better use of the available screen space.

 src/eog-window.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/eog-window.c b/src/eog-window.c
index f4f25ef..a830d3e 100644
--- a/src/eog-window.c
+++ b/src/eog-window.c
@@ -1246,8 +1246,8 @@ eog_window_obtain_desired_size (EogImage  *image,
                {
                        double width_factor, height_factor, factor;
 
-                       width_factor = (screen_width * 0.75 - deco_width) / (double) img_width;
-                       height_factor = (screen_height * 0.75 - deco_height) / (double) img_height;
+                       width_factor = (screen_width * 0.85 - deco_width) / (double) img_width;
+                       height_factor = (screen_height * 0.85 - deco_height) / (double) img_height;
                        factor = MIN (width_factor, height_factor);
 
                        img_width = img_width * factor;


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