Enlightenment CVS committal Author : lordchaos Project : e17 Module : apps/evfs
Dir : e17/apps/evfs/src/plugins Modified Files: evfs_fs_posix.c Log Message: * file_monitor event -> eet_edd. This should become a filereference =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/evfs/src/plugins/evfs_fs_posix.c,v retrieving revision 1.37 retrieving revision 1.38 diff -u -3 -r1.37 -r1.38 --- evfs_fs_posix.c 21 Feb 2006 10:44:08 -0000 1.37 +++ evfs_fs_posix.c 4 Mar 2006 05:48:33 -0000 1.38 @@ -165,6 +165,7 @@ { Ecore_List *mon_list; int type; + int filetype = EVFS_FILE_NORMAL; /*printf("Got an event for %s..", path); */ @@ -180,6 +181,7 @@ break; case ECORE_FILE_EVENT_CREATED_DIRECTORY: type = EVFS_FILE_EV_CREATE; + filetype = EVFS_FILE_DIRECTORY; break; case ECORE_FILE_EVENT_DELETED_FILE: type = EVFS_FILE_EV_REMOVE; @@ -204,7 +206,7 @@ printf(" Notifying client at id %ld of %s\n", mon->client->id, path); - evfs_file_monitor_event_create(mon->client, type, path, "file"); /*Find a better way to do the plugin */ + evfs_file_monitor_event_create(mon->client, type, path, filetype, "file"); /*Find a better way to do the plugin */ /*We should really use an evfs_filereference here */ } } ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs