diff src/main.c @ 877:21e324dcd78c

refresh thumbnails on file change
author nadvornik
date Thu, 03 Jul 2008 20:16:15 +0000
parents cb957189e723
children c414002a1f27
line wrap: on
line diff
--- a/src/main.c	Thu Jul 03 19:38:19 2008 +0000
+++ b/src/main.c	Thu Jul 03 20:16:15 2008 +0000
@@ -28,6 +28,7 @@
 #include "ui_fileops.h"
 #include "ui_utildlg.h"
 #include "cache_maint.h"
+#include "thumb.h"
 
 #include <gdk/gdkkeysyms.h> /* for keyboard values */
 
@@ -689,6 +690,7 @@
 
 	/* register global notify functions */
 	file_data_register_notify_func(cache_notify_cb, NULL, NOTIFY_PRIORITY_HIGH);
+	file_data_register_notify_func(thumb_notify_cb, NULL, NOTIFY_PRIORITY_HIGH);
 	file_data_register_notify_func(collect_manager_notify_cb, NULL, NOTIFY_PRIORITY_LOW);
 
 	parse_command_line_for_debug_option(argc, argv);