Mercurial > geeqie
diff src/layout_util.c @ 1214:31402ecb2aed
write metadata after timeout, image change or dir change
author | nadvornik |
---|---|
date | Mon, 22 Dec 2008 18:29:25 +0000 |
parents | d3e51e1a02f8 |
children | ca8ccf0c3e81 |
line wrap: on
line diff
--- a/src/layout_util.c Mon Dec 22 18:15:26 2008 +0000 +++ b/src/layout_util.c Mon Dec 22 18:29:25 2008 +0000 @@ -43,6 +43,7 @@ #include "utilops.h" #include "view_dir.h" #include "window.h" +#include "metadata.h" #include <gdk/gdkkeysyms.h> /* for keyboard values */ @@ -2036,6 +2037,10 @@ { layout_bar_info_new_image(lw); layout_bar_exif_new_image(lw); + + /* this should be called here to handle the metadata edited in bars */ + if (options->metadata.confirm_on_image_change) + metadata_write_queue_confirm(); } void layout_bars_new_selection(LayoutWindow *lw, gint count)