diff src/pixbuf-renderer.c @ 1634:53b0a8e471c8

preserve zoom value on fullscreen startup
author nadvornik
date Sat, 06 Jun 2009 19:39:46 +0000
parents 96114e721195
children 82de367f2d72
line wrap: on
line diff
--- a/src/pixbuf-renderer.c	Sat Jun 06 17:28:16 2009 +0000
+++ b/src/pixbuf-renderer.c	Sat Jun 06 19:39:46 2009 +0000
@@ -3961,6 +3961,8 @@
 		pr->image_width = 0;
 		pr->image_height = 0;
 		pr->scale = 1.0;
+		pr->zoom = zoom; /* don't throw away the zoom value, it is set by pixbuf_renderer_move, among others,
+				    and used for pixbuf_renderer_zoom_get */
 
 		box = GTK_WIDGET(pr);