diff src/layout.c @ 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 8b89e3ff286b
children 50ae02a4a675
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);
 		}