Enlightenment CVS committal Author : raster Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_fm.c e_fm.h Log Message: lets disable the gettextize and see =================================================================== RCS file: /cvs/e/e17/apps/e/src/bin/e_fm.c,v retrieving revision 1.101 retrieving revision 1.102 diff -u -3 -r1.101 -r1.102 --- e_fm.c 31 Oct 2006 15:02:47 -0000 1.101 +++ e_fm.c 1 Nov 2006 12:52:49 -0000 1.102 @@ -725,6 +725,44 @@ if (h) *h = sd->max.h; } +EAPI void +e_fm2_fop_delete_add(Evas_Object *obj, E_Fm2_Icon_Info *ici) +{ + E_Fm2_Smart_Data *sd; + + sd = evas_object_smart_data_get(obj); + if (!sd) return; // safety + if (!evas_object_type_get(obj)) return; // safety + if (strcmp(evas_object_type_get(obj), "e_fm")) return; // safety + /* if no obj fop struct, create fop struct and add idler */ + /* append fop node for delete and this file to the fop */ + + /* if obj is deleted what to do to fop: */ + /* if obj is deleted, detach fop and let it run on its own till end */ + /* if obj changes dir detach fop obj */ + + /* on fop queue empty - deete idler and free fop */ + /* in fop idler go to the item on the head of the fop queue. if it is + * a file or a symlink, delete it directly. if it is a dir then + * opendir it in the fop entry (fope->dir != NULL now) and if dir is + * not null, readdir till end (when at end remove item) and per item + * if it is a file or link - delete it directly, if it is a dir, prepend to + * fop queue. + */ +} + +/* FIXME: not so easy with .orders etc. */ +EAPI void +e_fm2_fop_move_add(Evas_Object *obj, E_Fm2_Icon_Info *ici, Evas_Object *obj2, const char *fname) +{ + E_Fm2_Smart_Data *sd; + + sd = evas_object_smart_data_get(obj); + if (!sd) return; // safety + if (!evas_object_type_get(obj)) return; // safety + if (strcmp(evas_object_type_get(obj), "e_fm")) return; // safety +} + /* local subsystem functions */ static const char * _e_fm2_dev_path_map(const char *dev, const char *path) =================================================================== RCS file: /cvs/e/e17/apps/e/src/bin/e_fm.h,v retrieving revision 1.27 retrieving revision 1.28 diff -u -3 -r1.27 -r1.28 --- e_fm.h 31 Oct 2006 14:56:28 -0000 1.27 +++ e_fm.h 1 Nov 2006 12:52:49 -0000 1.28 @@ -23,6 +23,7 @@ E_FM2_MENU_NO_DELETE = (1 << 4), E_FM2_MENU_NO_RENAME = (1 << 5) } E_Fm2_Menu_Flags; + typedef struct _E_Fm2_Config E_Fm2_Config; typedef struct _E_Fm2_Icon_Info E_Fm2_Icon_Info; ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs