From: codewarrior Date: Sun, 4 Dec 2005 09:47:49 +0000 (+0000) Subject: - tiny fix for eap editor, this beings out another issue to address. when we save... X-Git-Tag: submit/efl/20131021.015651~14426 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=67f527e8b760cf84fbebcf8ac7134ed10709b5f6;p=platform%2Fupstream%2Fenlightenment.git - tiny fix for eap editor, this beings out another issue to address. when we save metadata for a dir, we save icon positions. the eap editor is a small window by default so icons will look out of place. need to think about it and find a good way to solve it. SVN revision: 18821 --- diff --git a/src/bin/e_file_selector.c b/src/bin/e_file_selector.c index 0287630..03eae64 100644 --- a/src/bin/e_file_selector.c +++ b/src/bin/e_file_selector.c @@ -118,6 +118,7 @@ _e_smart_add(Evas_Object *obj) { E_Smart_Data *sd; Evas *evas; + char *home; sd = calloc(1, sizeof(E_Smart_Data)); if (!sd) return; @@ -136,6 +137,12 @@ _e_smart_add(Evas_Object *obj) evas_object_smart_member_add(sd->frame, obj); sd->files = e_fm_add(evas); + + /* temp fix until this is handled properly */ + home = e_user_homedir_get(); + e_fm_dir_set(sd->files, home); + E_FREE(home); + e_fm_selector_enable(sd->files, _e_file_selector_selected_cb, sd); evas_object_smart_member_add(sd->files, obj);