diff src/utilops.c @ 799:278962ba162a

use the new notification for collections
author nadvornik
date Sat, 07 Jun 2008 10:45:33 +0000
parents 799d035b9994
children a25b228978a0
line wrap: on
line diff
--- a/src/utilops.c	Sat Jun 07 10:18:30 2008 +0000
+++ b/src/utilops.c	Sat Jun 07 10:45:33 2008 +0000
@@ -239,28 +239,6 @@
 /* FIXME this is a temporary solution */
 void file_data_notify_ci(FileData *fd)
 {
-	FileDataChangeType type = fd->change->type;
-	switch (type)
-		{
-		case FILEDATA_CHANGE_MOVE:
-			collection_maint_renamed(fd);
-
-			break;
-		case FILEDATA_CHANGE_COPY:
-			break;
-		case FILEDATA_CHANGE_RENAME:
-			collection_maint_renamed(fd);
-
-			break;
-		case FILEDATA_CHANGE_DELETE:
-
-			collection_maint_removed(fd);
-			break;
-		case FILEDATA_CHANGE_UNSPECIFIED:
-			/* FIXME */
-			break;
-		}
-
 
 	/* this is the new way: */
 	file_data_send_notification(fd, NOTIFY_TYPE_CHANGE);