changeset 1287:5fdf258f9c24

Start with "Fit to window" in "Leave Zoom at previous setting" mode
author nadvornik
date Fri, 06 Feb 2009 23:49:03 +0000
parents eba0b4ae413b
children 10073464e6aa
files src/layout.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/layout.c	Fri Feb 06 22:56:52 2009 +0000
+++ b/src/layout.c	Fri Feb 06 23:49:03 2009 +0000
@@ -2074,7 +2074,10 @@
 		GdkPixbuf *pixbuf;
 
 		pixbuf = pixbuf_inline(PIXBUF_INLINE_LOGO);
-		image_change_pixbuf(lw->image, pixbuf, 1.0, FALSE);
+		
+		/* FIXME: the zoom value set here is the value, which is then copied again and again
+		   in "Leave Zoom at previous setting" mode. This is not ideal.  */
+		image_change_pixbuf(lw->image, pixbuf, 0.0, FALSE);
 		g_object_unref(pixbuf);
 		}