Mercurial > geeqie.yaz
comparison src/image.c @ 61:0c912a2d94f1
Mon Jun 13 20:22:58 2005 John Ellis <johne@verizon.net>
* image.c (image_zoom_cb): If needed, update window title when
zoom changes.
* pixbuf-renderer.c (pr_size_sync): Send zoom signal when new window
size results in a new scale value.
* README: Updates.
* configure.in: Release 2.1.1
author | gqview |
---|---|
date | Tue, 14 Jun 2005 00:49:25 +0000 |
parents | 606fcf461a68 |
children | a4c1b7014e6e |
comparison
equal
deleted
inserted
replaced
60:9c0c402b0ef3 | 61:0c912a2d94f1 |
---|---|
40 | 40 |
41 | 41 |
42 static GList *image_list = NULL; | 42 static GList *image_list = NULL; |
43 | 43 |
44 | 44 |
45 static void image_update_title(ImageWindow *imd); | |
46 | |
45 /* | 47 /* |
46 *------------------------------------------------------------------- | 48 *------------------------------------------------------------------- |
47 * 'signals' | 49 * 'signals' |
48 *------------------------------------------------------------------- | 50 *------------------------------------------------------------------- |
49 */ | 51 */ |
81 | 83 |
82 static void image_zoom_cb(PixbufRenderer *pr, gdouble zoom, gpointer data) | 84 static void image_zoom_cb(PixbufRenderer *pr, gdouble zoom, gpointer data) |
83 { | 85 { |
84 ImageWindow *imd = data; | 86 ImageWindow *imd = data; |
85 | 87 |
88 if (imd->title_show_zoom) image_update_title(imd); | |
86 image_update_util(imd); | 89 image_update_util(imd); |
87 } | 90 } |
88 | 91 |
89 static void image_complete_util(ImageWindow *imd, gint preload) | 92 static void image_complete_util(ImageWindow *imd, gint preload) |
90 { | 93 { |