Enlightenment CVS committal

Author  : lordchaos
Project : e17
Module  : proto

Dir     : e17/proto/entropy/src/plugins


Modified Files:
        etk_list_viewer.c filesystem.c 


Log Message:
* Error catches

===================================================================
RCS file: 
/cvsroot/enlightenment/e17/proto/entropy/src/plugins/etk_list_viewer.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -3 -r1.20 -r1.21
--- etk_list_viewer.c   26 Feb 2006 05:04:57 -0000      1.20
+++ etk_list_viewer.c   26 Feb 2006 05:56:06 -0000      1.21
@@ -274,6 +274,9 @@
 
   if (!file->retrieved_stat) {
          /*And request the properties...*/
+
+         entropy_core_file_cache_add_reference (file->md5);
+         
          gui_event = entropy_malloc (sizeof (entropy_gui_event));
          gui_event->event_type =
          entropy_core_gui_event_get (ENTROPY_GUI_EVENT_FILE_STAT);
@@ -370,6 +373,8 @@
                                col5, ctime(&file_stat->stat_obj->st_mtime),
                                NULL);
                etk_tree_thaw(ETK_TREE(viewer->tree));
+
+               entropy_core_file_cache_remove_reference (file_stat->file->md5);
        }
      }
      break;                                     
===================================================================
RCS file: /cvsroot/enlightenment/e17/proto/entropy/src/plugins/filesystem.c,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -3 -r1.46 -r1.47
--- filesystem.c        26 Feb 2006 05:04:57 -0000      1.46
+++ filesystem.c        26 Feb 2006 05:56:06 -0000      1.47
@@ -536,7 +536,6 @@
   evfs_file_uri_path *path;
   char *uri = uri = entropy_core_generic_file_uri_create (request->file, 0);
 
-
   //printf("Getting a stat from evfs...\n");
 
 




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