ecore_file updates

SVN revision: 13464
This commit is contained in:
sebastid 2005-02-22 12:49:18 +00:00 committed by sebastid
parent a1e7a376d8
commit 5d4e02b22d
1 changed files with 2 additions and 2 deletions

View File

@ -112,7 +112,7 @@ e_app_new(const char *path, int scan_subdirs)
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 @@ _e_app_cb_monitor(void *data, Ecore_File_Monitor *em,
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;