[eog/gnome-3-8] Raise initial window size limit to 85% of screen size
- From: Felix Riemann <friemann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [eog/gnome-3-8] Raise initial window size limit to 85% of screen size
- Date: Fri, 10 May 2013 12:51:06 +0000 (UTC)
commit 2b1aea62b9e9aca9e8603ae357b1865de844c4bc
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 f8bba59..88a4789 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]