Enlightenment CVS committal

Author  : chaos
Project : e17
Module  : proto

Dir     : e17/proto/entropy/src


Modified Files:
        plugin_helper.c 


Log Message:
* Default DND to move operation, and add move command to filesystem plugin.

===================================================================
RCS file: /cvs/e/e17/proto/entropy/src/plugin_helper.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -3 -r1.22 -r1.23
--- plugin_helper.c     30 Apr 2006 09:16:45 -0000      1.22
+++ plugin_helper.c     10 Jun 2006 02:36:14 -0000      1.23
@@ -229,6 +229,21 @@
   return 1;
 }
 
+int entropy_plugin_filesystem_file_move(entropy_generic_file* source, char* 
dest, entropy_gui_component_instance* requester) 
+{
+  entropy_gui_component_instance *instance = requester;
+  Entropy_Plugin_File* plugin =
+    ENTROPY_PLUGIN_FILE(entropy_plugins_type_get_first 
(ENTROPY_PLUGIN_BACKEND_FILE,
+                                   ENTROPY_PLUGIN_SUB_TYPE_ALL));
+
+  if (plugin) {
+         (*plugin->file_functions.file_move) (source, dest,
+                 instance);
+  }
+
+  return 1;
+}
+
 void entropy_plugin_operation_respond(long operation, int response)
 {
   Entropy_Plugin_File* plugin =




_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to