Mercurial > geeqie
diff src/layout.c @ 1214:31402ecb2aed
write metadata after timeout, image change or dir change
author | nadvornik |
---|---|
date | Mon, 22 Dec 2008 18:29:25 +0000 |
parents | 5a20c47e7a14 |
children | ca8ccf0c3e81 |
line wrap: on
line diff
--- a/src/layout.c Mon Dec 22 18:15:26 2008 +0000 +++ b/src/layout.c Mon Dec 22 18:29:25 2008 +0000 @@ -32,6 +32,7 @@ #include "ui_misc.h" #include "ui_tabcomp.h" #include "window.h" +#include "metadata.h" #ifdef HAVE_LIRC #include "lirc.h" @@ -1045,6 +1046,9 @@ layout_image_set_index(lw, 0); } + if (options->metadata.confirm_on_dir_change) + metadata_write_queue_confirm(); + return TRUE; }