Enlightenment CVS committal Author : dj2 Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/bin/tests/text_editor Modified Files: ewl_text_editor.c Log Message: - revert patch from last night. there's a better way to do it. - remove the unused stock images from the theme =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/text_editor/ewl_text_editor.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -3 -r1.4 -r1.5 --- ewl_text_editor.c 13 Dec 2006 07:18:59 -0000 1.4 +++ ewl_text_editor.c 13 Dec 2006 19:00:03 -0000 1.5 @@ -105,14 +105,14 @@ for (i = 0; format[i].icon != NULL; i++) { - const char *path, *key; + const char *path; path = ewl_icon_theme_icon_path_get(format[i].icon, EWL_ICON_SIZE_SMALL); - key = ewl_icon_theme_icon_key_get(path, format[i].icon); o = ewl_button_new(); - ewl_button_image_set(EWL_BUTTON(o), path, key); + ewl_button_image_set(EWL_BUTTON(o), path, + format[i].icon); ewl_container_child_append(EWL_CONTAINER(hbox), o); ewl_object_fill_policy_set(EWL_OBJECT(o), EWL_FLAG_FILL_SHRINK); ewl_callback_append(o, EWL_CALLBACK_CLICKED, format[i].cb, NULL); ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs