diff src/metadata.c @ 1432:cf4029d10d38

improved notification system
author nadvornik
date Sat, 14 Mar 2009 17:21:35 +0000
parents 985366bccfb8
children b106af9689db
line wrap: on
line diff
--- a/src/metadata.c	Sat Mar 14 11:26:43 2009 +0000
+++ b/src/metadata.c	Sat Mar 14 17:21:35 2009 +0000
@@ -80,7 +80,7 @@
 	metadata_write_queue = g_list_remove(metadata_write_queue, fd);
 	
 	file_data_increment_version(fd);
-	file_data_send_notification(fd, NOTIFY_TYPE_REREAD);
+	file_data_send_notification(fd, NOTIFY_REREAD);
 
 	file_data_unref(fd);
 
@@ -202,7 +202,7 @@
 		}
 	metadata_write_queue_add(fd);
 	file_data_increment_version(fd);
-	file_data_send_notification(fd, NOTIFY_TYPE_INTERNAL);
+	file_data_send_notification(fd, NOTIFY_METADATA);
 
 	if (options->metadata.sync_grouped_files && metadata_check_key(group_keys, key))
 		{