Enlightenment CVS committal Author : lordchaos Project : e17 Module : proto
Dir : e17/proto/entropy/src Modified Files: entropy_core.c Log Message: * Don't make a dup of a file, if we get the new file notification late and we've already (somehow) got the new file * Start of file remove notify code =================================================================== RCS file: /cvsroot/enlightenment/e17/proto/entropy/src/entropy_core.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- entropy_core.c 22 Oct 2005 06:00:57 -0000 1.2 +++ entropy_core.c 23 Oct 2005 01:05:47 -0000 1.3 @@ -674,6 +674,23 @@ } entropy_notify_event_destroy(ev); + } else if (!strcmp(event->event_type,ENTROPY_GUI_EVENT_FILE_REMOVE)) { + entropy_notify_event* ev = entropy_notify_event_new(); + ev->event_type = ENTROPY_NOTIFY_FILE_REMOVE; + + //printf("Sending a file create event...\n"); + + ecore_list_goto_first(el); + while ( (iter = ecore_list_next(el)) ) { + (*iter->plugin->gui_event_callback_p) + (ev, + iter, + event->data, /*An entropy_generic_file*/ + iter); + } + entropy_notify_event_destroy(ev); + + } else if (!strcmp(event->event_type,ENTROPY_GUI_EVENT_ACTION_FILE)) { ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs