comparison 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
comparison
equal deleted inserted replaced
1213:bbec86370ef4 1214:31402ecb2aed
30 #include "ui_fileops.h" 30 #include "ui_fileops.h"
31 #include "ui_menu.h" 31 #include "ui_menu.h"
32 #include "ui_misc.h" 32 #include "ui_misc.h"
33 #include "ui_tabcomp.h" 33 #include "ui_tabcomp.h"
34 #include "window.h" 34 #include "window.h"
35 #include "metadata.h"
35 36
36 #ifdef HAVE_LIRC 37 #ifdef HAVE_LIRC
37 #include "lirc.h" 38 #include "lirc.h"
38 #endif 39 #endif
39 40
1043 else if (!options->lazy_image_sync) 1044 else if (!options->lazy_image_sync)
1044 { 1045 {
1045 layout_image_set_index(lw, 0); 1046 layout_image_set_index(lw, 0);
1046 } 1047 }
1047 1048
1049 if (options->metadata.confirm_on_dir_change)
1050 metadata_write_queue_confirm();
1051
1048 return TRUE; 1052 return TRUE;
1049 } 1053 }
1050 1054
1051 static void layout_refresh_lists(LayoutWindow *lw) 1055 static void layout_refresh_lists(LayoutWindow *lw)
1052 { 1056 {