Enlightenment CVS committal Author : codewarrior Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_eap_editor.c Log Message: - image propagation fix. ugly but works for now. =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_eap_editor.c,v retrieving revision 1.18 retrieving revision 1.19 diff -u -3 -r1.18 -r1.19 --- e_eap_editor.c 6 Dec 2005 22:50:41 -0000 1.18 +++ e_eap_editor.c 7 Dec 2005 23:53:02 -0000 1.19 @@ -9,6 +9,7 @@ Evas_Object *img; Evas_Object *img_widget; + int img_set; E_App_Edit_CFData *cfdata; }; @@ -236,7 +237,7 @@ o = e_widget_frametable_add(evas, _("Icon"), 0); - if(!editor->img) + if(!editor->img || editor->img_set != 1) { editor->img = e_icon_add(evas); if(eap->path) @@ -245,7 +246,7 @@ e_icon_fill_inside_set(editor->img, 1); } } - else + else if(editor->img_set) { editor->img = e_icon_add(evas); e_icon_file_set(editor->img, cfdata->image); @@ -411,7 +412,8 @@ E_App_Edit *editor; editor = data; - printf("selected: %s\n", file); + editor->img_set = 1; + printf("selected: %s\n", file); } void @@ -420,5 +422,6 @@ E_App_Edit *editor; editor = data; + editor->img_set = 1; printf("hilited: %s\n", file); } ------------------------------------------------------- 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