Enlightenment CVS committal
Author : sebastid
Project : e17
Module : apps/e
Dir : e17/apps/e/src/bin
Modified Files:
e_apps.c
Log Message:
ecore_file updates
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_apps.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -3 -r1.17 -r1.18
--- e_apps.c 21 Feb 2005 16:21:13 -0000 1.17
+++ e_apps.c 22 Feb 2005 12:49:18 -0000 1.18
@@ -112,7 +112,7 @@
if (ecore_file_exists(buf))
_e_app_fields_fill(a, buf);
else
- a->name = strdup(ecore_file_get_file(path));
+ a->name = strdup(ecore_file_get_file(a->path));
if (scan_subdirs) e_app_subdir_scan(a, scan_subdirs);
a->monitor = ecore_file_monitor_add(a->path, _e_app_cb_monitor, a);
@@ -659,7 +659,7 @@
app = data;
- if (em->type != ECORE_FILE_TYPE_DIRECTORY)
+ if (ecore_file_monitor_type_get(em) != ECORE_FILE_TYPE_DIRECTORY)
{
printf("BUG: E_App should only monitor directories!\n");
return;
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs