diff src/main.c @ 1214:31402ecb2aed

write metadata after timeout, image change or dir change
author nadvornik
date Mon, 22 Dec 2008 18:29:25 +0000
parents 0bea79d87065
children ca8ccf0c3e81
line wrap: on
line diff
--- a/src/main.c	Mon Dec 22 18:15:26 2008 +0000
+++ b/src/main.c	Mon Dec 22 18:29:25 2008 +0000
@@ -30,6 +30,7 @@
 #include "ui_utildlg.h"
 #include "cache_maint.h"
 #include "thumb.h"
+#include "metadata.h"
 
 #include <gdk/gdkkeysyms.h> /* for keyboard values */
 
@@ -648,6 +649,8 @@
 {
 	layout_image_full_screen_stop(NULL);
 
+	if (metadata_write_queue_confirm()) return;
+
 	if (exit_confirm_dlg()) return;
 
 	exit_program_final();