Enlightenment CVS committal Author : ningerso Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/bin/tests/text_editor Modified Files: ewl_text_editor.c Log Message: Additional configure callback when clearing the text of the text editor test. =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/text_editor/ewl_text_editor.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -3 -r1.6 -r1.7 --- ewl_text_editor.c 4 Jan 2007 05:09:44 -0000 1.6 +++ ewl_text_editor.c 12 Jan 2007 12:01:18 -0000 1.7 @@ -172,6 +172,7 @@ ewl_scrollpane_hscrollbar_flag_set(EWL_SCROLLPANE(scroll), EWL_SCROLLPANE_FLAG_ALWAYS_HIDDEN); ewl_container_child_append(EWL_CONTAINER(box), scroll); + ewl_widget_name_set(scroll, "scrollpane"); ewl_widget_show(scroll); o = ewl_entry_new(); @@ -483,9 +484,12 @@ ete_cb_clear(Ewl_Widget *w __UNUSED__, void *ev __UNUSED__, void *data __UNUSED__) { - Ewl_Widget *entry; + Ewl_Widget *entry, *scroll; entry = ewl_widget_name_find("entry"); ewl_text_clear(EWL_TEXT(entry)); + + scroll = ewl_widget_name_find("scrollpane"); + ewl_widget_configure(scroll); } ------------------------------------------------------------------------- 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