Mercurial > geeqie
diff src/layout_image.c @ 614:b2898f04c82e
image_osd_get() and image_osd_set() now uses flags.
| author | zas_ |
|---|---|
| date | Fri, 09 May 2008 09:58:46 +0000 |
| parents | 905688aa2317 |
| children | 734b6b0a3356 |
line wrap: on
line diff
--- a/src/layout_image.c Fri May 09 09:34:38 2008 +0000 +++ b/src/layout_image.c Fri May 09 09:58:46 2008 +0000 @@ -358,10 +358,10 @@ if (lw->tools) gtk_widget_set_sensitive(lw->tools, FALSE); #endif - if (image_osd_get(lw->full_screen->normal_imd, NULL, NULL)) + if (image_osd_get(lw->full_screen->normal_imd, NULL)) { - image_osd_set(lw->image, TRUE, TRUE); - image_osd_set(lw->full_screen->normal_imd, FALSE, FALSE); + image_osd_set(lw->image, OSD_SHOW_INFO | OSD_SHOW_STATUS); + image_osd_set(lw->full_screen->normal_imd, OSD_SHOW_NOTHING); } } @@ -370,9 +370,9 @@ if (!layout_valid(&lw)) return; if (!lw->full_screen) return; - if (image_osd_get(lw->image, NULL, NULL)) + if (image_osd_get(lw->image, NULL)) { - image_osd_set(lw->full_screen->normal_imd, FALSE, TRUE); + image_osd_set(lw->full_screen->normal_imd, OSD_SHOW_STATUS); } fullscreen_stop(lw->full_screen);
