Enlightenment CVS committal

Author  : chaos
Project : e17
Module  : proto

Dir     : e17/proto/entropy/src/plugins


Modified Files:
        filesystem.c remote_thumbnailer.c 


Log Message:
* dlsym--, api++

===================================================================
RCS file: /cvs/e/e17/proto/entropy/src/plugins/filesystem.c,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -3 -r1.59 -r1.60
--- filesystem.c        2 Apr 2006 05:47:38 -0000       1.59
+++ filesystem.c        3 Apr 2006 10:11:11 -0000       1.60
@@ -546,11 +546,6 @@
   plugin->file_functions.file_remove = &entropy_filesystem_file_remove;
 
 
-
-
-
-  
-
   return plugin;
 
   
@@ -925,9 +920,12 @@
   char *uri_from = entropy_core_generic_file_uri_create (file_from, 0);
   char *uri_to = entropy_core_generic_file_uri_create (file_to, 0);
 
+  printf("Uri from/to: %s -> %s\n", uri_from, uri_to);
+
+  
+
   uri_path_from = evfs_parse_uri (uri_from);
   uri_path_to = evfs_parse_uri (uri_to);
-
 
   evfs_client_file_rename (con, uri_path_from->files[0],
                           uri_path_to->files[0]);
===================================================================
RCS file: /cvs/e/e17/proto/entropy/src/plugins/remote_thumbnailer.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -3 -r1.13 -r1.14
--- remote_thumbnailer.c        3 Apr 2006 08:31:35 -0000       1.13
+++ remote_thumbnailer.c        3 Apr 2006 10:11:11 -0000       1.14
@@ -120,14 +120,9 @@
   case ENTROPY_NOTIFY_USER_INTERACTION_YES_NO_ABORT: {
        /*Always overwrite here - we're in /tmp, and we don't want to prompt
         * the user*/
-        void (*operation_func)(long id,int response);
-        entropy_plugin* plugin;
        entropy_file_operation* op = (entropy_file_operation*)obj;
 
-        //FIXME
-        plugin = entropy_plugins_type_get_first( ENTROPY_PLUGIN_BACKEND_FILE 
,ENTROPY_PLUGIN_SUB_TYPE_ALL);
-        operation_func = dlsym(plugin->dl_ref, 
"entropy_filesystem_operation_respond");
-        (*operation_func)( op->id, ENTROPY_USER_INTERACTION_RESPONSE_YES );
+        entropy_plugin_operation_respond( op->id, 
ENTROPY_USER_INTERACTION_RESPONSE_YES );
 
   }
   break; 




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