Enlightenment CVS committal Author : codewarrior Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_eap_editor.c e_widget_iconsel.c Log Message: -bug fixes =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_eap_editor.c,v retrieving revision 1.10 retrieving revision 1.11 diff -u -3 -r1.10 -r1.11 --- e_eap_editor.c 31 Oct 2005 09:31:04 -0000 1.10 +++ e_eap_editor.c 31 Oct 2005 09:46:27 -0000 1.11 @@ -108,6 +108,7 @@ cfdata = E_NEW(E_App_Edit_CFData, 1); if (!cfdata) return NULL; cfdata->editor = cfd->data; + cfdata->image = NULL; _e_eap_edit_fill_data(cfdata); return cfdata; } @@ -214,17 +215,12 @@ o = e_widget_frametable_add(evas, _("Icon"), 0); + editor->img = e_icon_add(evas); if(eap->path) { - editor->img = e_icon_add(evas); e_icon_file_key_set(editor->img, eap->path, "images/0"); e_icon_fill_inside_set(editor->img, 1); } - else - { - editor->img = edje_object_add(evas); - e_theme_edje_object_set(editor->img, "base/theme/icons/enlightenment/e", "icons/enlightenment/e"); - } editor->img_widget = e_widget_iconsel_add(evas, editor->img, 48, 48, &(cfdata->image)); =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_widget_iconsel.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -3 -r1.4 -r1.5 --- e_widget_iconsel.c 31 Oct 2005 09:31:05 -0000 1.4 +++ e_widget_iconsel.c 31 Oct 2005 09:46:27 -0000 1.5 @@ -3,6 +3,13 @@ */ #include "e.h" +/*- DESCRIPTION -*/ +/* Adds a pushable button with an icon preview which serves as an icon + * selector (could be extended to select certain file tyes. + * NOTE: The Evas_Object *icon object in the *_add functions is expected to + * be an e_icon. + */ + typedef struct _E_Widget_Data E_Widget_Data; struct _E_Widget_Data { ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs