Enlightenment CVS committal

Author  : codewarrior
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_file_selector.c 


Log Message:
- 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.
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_file_selector.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- e_file_selector.c   4 Nov 2005 21:05:23 -0000       1.4
+++ e_file_selector.c   4 Dec 2005 09:47:49 -0000       1.5
@@ -118,6 +118,7 @@
 {
    E_Smart_Data *sd;
    Evas *evas;
+   char *home;
    
    sd = calloc(1, sizeof(E_Smart_Data));
    if (!sd) return;
@@ -136,6 +137,12 @@
    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);
 




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to