diff src/image.c @ 27:9c24765c2d3a

Sat Apr 2 17:28:16 2005 John Ellis <johne@verizon.net> * image.c (image_options_set): Update PixbufRenderer parent window so that changing 'fit window to image' option works. * pan-view.c (pan_window_image_zoom_cb): Use same zoom text display as for main windows. * pixbuf-renderer.c: Fix (re-implement) check for maximized window state. Fix pr_source_tile_visible() calculation which was using the x axis where it should be y. Add redrawn return value to pr_zoom_clamp() and use that value in pr_zoom_sync() to pass pr_redraw correct args. ##### Note: GQview CVS on sourceforge is not always up to date, please use ##### ##### an offical release when making enhancements and translation updates. #####
author gqview
date Sat, 02 Apr 2005 22:44:34 +0000
parents acd9885ebd78
children 8a8ec4b3e769
line wrap: on
line diff
--- a/src/image.c	Tue Mar 29 01:28:17 2005 +0000
+++ b/src/image.c	Sat Apr 02 22:44:34 2005 +0000
@@ -1347,6 +1347,8 @@
 					"window_limit", limit_window_size,
 					"window_limit_value", max_window_size,
 					NULL);
+
+	pixbuf_renderer_set_parent((PixbufRenderer *)imd->pr, (GtkWindow *)imd->top_window);
 }
 
 void image_options_sync(void)