Update to new ecore_file.

Remove unused function.


SVN revision: 15403
This commit is contained in:
sebastid 2005-06-18 00:13:04 +00:00 committed by sebastid
parent 9d5a452142
commit c2b632eaae
3 changed files with 15 additions and 11 deletions

View File

@ -346,10 +346,15 @@ e_app_files_prepend_relative(Evas_List *files, E_App *before)
for (l = files; l; l = l->next)
{
char *file;
char buf[PATH_MAX];
file = l->data;
if (!_e_app_is_eapp(file)) continue;
if (!ecore_file_download(file, _e_apps_path_all)) continue;
/* FIXME: If we are downloading something from net, we must
* attach a callback and wait for the download to finish */
snprintf(buf, sizeof(buf), "%s/%s", _e_apps_path_all,
ecore_file_get_file(file));
if (!ecore_file_download(file, _e_apps_path_all, NULL, NULL)) continue;
}
/* Force rescan of all subdir */
_e_app_subdir_rescan(_e_apps_all);
@ -389,18 +394,22 @@ e_app_files_prepend_relative(Evas_List *files, E_App *before)
void
e_app_files_append(Evas_List *files, E_App *parent)
{
Evas_List *l, *subapps, *changes = NULL;
E_App_Change_Info *ch;
Evas_List *l, *subapps;
subapps = parent->subapps;
for (l = files; l; l = l->next)
{
char *file;
char buf[PATH_MAX];
file = l->data;
if (!_e_app_is_eapp(file)) continue;
if (!ecore_file_download(file, _e_apps_path_all)) continue;
/* FIXME: If we are downloading something from net, we must
* attach a callback and wait for the download to finish */
snprintf(buf, sizeof(buf), "%s/%s", _e_apps_path_all,
ecore_file_get_file(file));
if (!ecore_file_download(file, buf, NULL, NULL)) continue;
}
/* Force rescan of all subdir */
_e_app_subdir_rescan(_e_apps_all);

View File

@ -611,6 +611,7 @@ _e_dnd_cb_event_dnd_enter(void *data, int type, void *event)
}
break;
}
#if 0
else if (!strcmp("text/x-moz-url", ev->types[i]))
{
_xdnd = E_NEW(XDnd, 1);
@ -626,6 +627,7 @@ _e_dnd_cb_event_dnd_enter(void *data, int type, void *event)
}
break;
}
#endif
}
return 1;
}

View File

@ -8,7 +8,6 @@
*/
static void _e_zone_free(E_Zone *zone);
static void _e_zone_cb_menu_end(void *data, E_Menu *m);
static void _e_zone_cb_bg_mouse_down(void *data, Evas *evas, Evas_Object *obj, void *event_info);
static void _e_zone_cb_bg_mouse_up(void *data, Evas *evas, Evas_Object *obj, void *event_info);
static void _e_zone_cb_bg_mouse_move(void *data, Evas *evas, Evas_Object *obj, void *event_info);
@ -573,12 +572,6 @@ _e_zone_free(E_Zone *zone)
free(zone);
}
static void
_e_zone_cb_menu_end(void *data, E_Menu *m)
{
e_object_del(E_OBJECT(m));
}
static void
_e_zone_cb_bg_mouse_down(void *data, Evas *evas, Evas_Object *obj, void *event_info)
{