Enlightenment CVS committal Author : sebastid Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_apps.c e_dnd.c e_zone.c Log Message: Update to new ecore_file. Remove unused function. =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_apps.c,v retrieving revision 1.48 retrieving revision 1.49 diff -u -3 -r1.48 -r1.49 --- e_apps.c 16 Jun 2005 01:55:19 -0000 1.48 +++ e_apps.c 18 Jun 2005 00:13:04 -0000 1.49 @@ -346,10 +346,15 @@ 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 @@ 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); =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_dnd.c,v retrieving revision 1.26 retrieving revision 1.27 diff -u -3 -r1.26 -r1.27 --- e_dnd.c 16 Jun 2005 01:55:19 -0000 1.26 +++ e_dnd.c 18 Jun 2005 00:13:04 -0000 1.27 @@ -611,6 +611,7 @@ } break; } +#if 0 else if (!strcmp("text/x-moz-url", ev->types[i])) { _xdnd = E_NEW(XDnd, 1); @@ -626,6 +627,7 @@ } break; } +#endif } return 1; } =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_zone.c,v retrieving revision 1.57 retrieving revision 1.58 diff -u -3 -r1.57 -r1.58 --- e_zone.c 8 Jun 2005 14:06:28 -0000 1.57 +++ e_zone.c 18 Jun 2005 00:13:04 -0000 1.58 @@ -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); @@ -574,12 +573,6 @@ } 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) { E_Zone *zone; ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs