Mercurial > geeqie
diff src/pan-view.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 | 104e34f9ab1f |
children | 8a8ec4b3e769 |
line wrap: on
line diff
--- a/src/pan-view.c Tue Mar 29 01:28:17 2005 +0000 +++ b/src/pan-view.c Sat Apr 02 22:44:34 2005 +0000 @@ -2965,9 +2965,9 @@ } g_list_free(list); - if (0) +#if 0 + if (x%512 == 0 && y%512 == 0) { - static gint count = 0; PangoLayout *layout; gchar *buf; @@ -2982,9 +2982,8 @@ pixbuf_draw_layout(pixbuf, layout, (GtkWidget *)pr, 0, 0, 0, 0, 0, 255); g_object_unref(G_OBJECT(layout)); - - count++; } +#endif return TRUE; } @@ -4047,10 +4046,7 @@ PanWindow *pw = data; gchar *text; -#if 0 - text = image_zoom_get_as_text(imd); -#endif - text = g_strdup_printf("%.2f", zoom); + text = image_zoom_get_as_text(pw->imd); gtk_label_set_text(GTK_LABEL(pw->label_zoom), text); g_free(text); }