From b483ed8f70bf046322c128b26a7adc6c766ab1c6 Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Wed, 1 Nov 2006 12:52:49 +0000 Subject: [PATCH] lets disable the gettextize and see SVN revision: 26896 --- autogen.sh | 6 +++--- src/bin/e_fm.c | 38 ++++++++++++++++++++++++++++++++++++++ src/bin/e_fm.h | 1 + 3 files changed, 42 insertions(+), 3 deletions(-) diff --git a/autogen.sh b/autogen.sh index 5e159f279..d2cc04a0d 100755 --- a/autogen.sh +++ b/autogen.sh @@ -10,10 +10,10 @@ echo "Running aclocal..." ; aclocal $ACLOCAL_FLAGS -I m4 || exit 1 echo "Running autoconf..." ; autoconf || exit 1 echo "Running autoheader..." ; autoheader || exit 1 echo "Running libtoolize..." ; (libtoolize --copy --automake || glibtoolize --automake) || exit 1 -echo "Running gettextize..." ; gettextize -f --no-changelog& +#echo "Running gettextize..." ; gettextize -f --no-changelog& # hack - gettextize is interactive and demands input from a user. "screw it". -sleep 20 -kill %1 +#sleep 20 +#kill %1 echo "Running automake..." ; automake --add-missing --copy --gnu || exit 1 if [ -z "$NOCONFIGURE" ]; then diff --git a/src/bin/e_fm.c b/src/bin/e_fm.c index 3b5f6e916..9f9808cae 100644 --- a/src/bin/e_fm.c +++ b/src/bin/e_fm.c @@ -725,6 +725,44 @@ e_fm2_pan_child_size_get(Evas_Object *obj, Evas_Coord *w, Evas_Coord *h) 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) diff --git a/src/bin/e_fm.h b/src/bin/e_fm.h index aca5b0d47..cb330300f 100644 --- a/src/bin/e_fm.h +++ b/src/bin/e_fm.h @@ -23,6 +23,7 @@ typedef enum _E_Fm2_Menu_Flags 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;