Enlightenment CVS committal

Author  : lordchaos
Project : e17
Module  : proto

Dir     : e17/proto/entropy/src


Modified Files:
        entropy_core.c plugin_helper.c 


Log Message:
* API rationalization
* Misc. catches
* Delete event now supports progress bar

===================================================================
RCS file: /cvsroot/enlightenment/e17/proto/entropy/src/entropy_core.c,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -3 -r1.56 -r1.57
--- entropy_core.c      11 Mar 2006 07:11:34 -0000      1.56
+++ entropy_core.c      14 Mar 2006 13:05:40 -0000      1.57
@@ -1527,7 +1527,8 @@
 
        strncpy(file->path, copy, 255);
        strncpy(file->filename, pos, FILENAME_LENGTH);
-       strncpy(file->uri_base, file_ref->plugin_uri, 15);
+       if (file_ref->plugin_uri) 
+               strncpy(file->uri_base, file_ref->plugin_uri, 15);
 
        free(copy);
        return file;
===================================================================
RCS file: /cvsroot/enlightenment/e17/proto/entropy/src/plugin_helper.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- plugin_helper.c     11 Mar 2006 07:11:34 -0000      1.9
+++ plugin_helper.c     14 Mar 2006 13:05:40 -0000      1.10
@@ -115,15 +115,15 @@
        return plugin_list;     
 }
 
-void entropy_plugin_filesystem_file_remove(entropy_generic_file* file) {
+void entropy_plugin_filesystem_file_remove(entropy_generic_file* file, 
entropy_gui_component_instance* instance) {
        entropy_plugin *plugin =
              entropy_plugins_type_get_first (
        ENTROPY_PLUGIN_BACKEND_FILE, ENTROPY_PLUGIN_SUB_TYPE_ALL);
        
-       void (*del_func)(entropy_generic_file* source);
+       void (*del_func)(entropy_generic_file* source, 
entropy_gui_component_instance*);
        del_func = dlsym(plugin->dl_ref, "entropy_filesystem_file_remove");
 
-       (*del_func)(file);
+       (*del_func)(file, instance);
 }
 
 void entropy_plugin_filesystem_directory_create(entropy_generic_file* file, 
char* dir) {




-------------------------------------------------------
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

Reply via email to