Enlightenment CVS committal

Author  : chaos
Project : e17
Module  : proto

Dir     : e17/proto/entropy/src/plugins


Modified Files:
        etk_icon_viewer.c mime.c 


Log Message:
* Squash warnings (my rule: one warning, per day - shouldn't take long)
* 'Cut' support! Finally!
* File create notify for icon view

===================================================================
RCS file: /cvs/e/e17/proto/entropy/src/plugins/etk_icon_viewer.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -3 -r1.19 -r1.20
--- etk_icon_viewer.c   5 Sep 2006 08:10:10 -0000       1.19
+++ etk_icon_viewer.c   6 Sep 2006 11:09:22 -0000       1.20
@@ -322,6 +322,19 @@
         icon_viewer_remove_row(comp, (entropy_generic_file*)el);
      }
      break;
+
+     case ENTROPY_NOTIFY_FILE_CREATE:{
+      entropy_generic_file* file = el;
+      
+      /*Check that this file is the current dir we are displaying*/
+      entropy_generic_file* parent_folder = 
entropy_core_parent_folder_file_get(file);
+
+      if (parent_folder && parent_folder == viewer->current_folder) {
+             icon_viewer_add_row (comp, file);                               
+      }
+     }
+     break;    
+
   }
 }
 
===================================================================
RCS file: /cvs/e/e17/proto/entropy/src/plugins/mime.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -3 -r1.13 -r1.14
--- mime.c      6 Aug 2006 05:33:50 -0000       1.13
+++ mime.c      6 Sep 2006 11:09:22 -0000       1.14
@@ -57,7 +57,7 @@
 
   plugin = entropy_malloc(sizeof(Entropy_Plugin_Mime));
 
-  return plugin;
+  return ENTROPY_PLUGIN(plugin);
 }
 
 char *



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to