# HG changeset patch
# User nadvornik
# Date 1233964143 0
# Node ID 5fdf258f9c240478c6c68fcc3aff0670bb23692c
# Parent  eba0b4ae413b086e74fcd37b3a4957f1f4563acd
Start with "Fit to window" in "Leave Zoom at previous setting" mode

diff -r eba0b4ae413b -r 5fdf258f9c24 src/layout.c
--- 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);
 		}