Enlightenment CVS committal Author : chaos Project : e17 Module : apps/evfs
Dir : e17/apps/evfs/src/plugins/file Modified Files: evfs_fs_vfolder.c Log Message: * Add group icon hinting * Split out seeder to new file - create DB upgrade system =================================================================== RCS file: /cvs/e/e17/apps/evfs/src/plugins/file/evfs_fs_vfolder.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -3 -r1.6 -r1.7 --- evfs_fs_vfolder.c 20 Jul 2006 09:04:48 -0000 1.6 +++ evfs_fs_vfolder.c 20 Jul 2006 15:15:41 -0000 1.7 @@ -103,7 +103,7 @@ Evas_List* group_list; Evas_List* iter; char assemble[PATH_MAX]; - char* g; + evfs_metadata_group_header* g; /*Get group list, and return*/ group_list = evfs_metadata_groups_get(); @@ -112,11 +112,12 @@ g = iter->data; snprintf(assemble, sizeof(assemble), "%s/%s", - EVFS_PLUGIN_VFOLDER_GROUPS_ID, g); + EVFS_PLUGIN_VFOLDER_GROUPS_ID, g->name); ref = NEW(evfs_filereference); ref->plugin_uri = strdup(EVFS_PLUGIN_VFOLDER_URI); ref->path = strdup(assemble); + if (g->visualhint) ref->attach = strdup(g->visualhint); ref->file_type = EVFS_FILE_DIRECTORY; ecore_list_append(files, ref); @@ -138,6 +139,8 @@ while ( (item = ecore_list_remove_first(list))) { path = evfs_parse_uri(item); ecore_list_append(files, path->files[0]); + + evfs_cleanup_file_uri_path(path); } ecore_list_destroy(list); } ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs