Enlightenment CVS committal Author : dj2 Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/lib Modified Files: ewl_text.c Log Message: - move the trigger and selection code outside the dirty check so the selection will get drawn correctly =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_text.c,v retrieving revision 1.88 retrieving revision 1.89 diff -u -3 -r1.88 -r1.89 --- ewl_text.c 8 Feb 2006 04:52:52 -0000 1.88 +++ ewl_text.c 14 Feb 2006 20:40:30 -0000 1.89 @@ -2445,17 +2445,16 @@ evas_object_move(t->textblock, xx, yy); evas_object_resize(t->textblock, ww, hh); - if (t->dirty) { + if (t->dirty) ewl_text_display(t); - /* XXX ewl_text_triggers_realize here? */ - ewl_text_triggers_configure(t); + /* XXX ewl_text_triggers_realize here? */ + ewl_text_triggers_configure(t); - /* re-configure the selection to make sure it resizes - * if needed */ - if (t->selection) - ewl_widget_configure(EWL_WIDGET(t->selection)); - } + /* re-configure the selection to make sure it resizes + * if needed */ + if (t->selection) + ewl_widget_configure(EWL_WIDGET(t->selection)); } DLEAVE_FUNCTION(DLEVEL_STABLE); @@ -2671,7 +2670,7 @@ t->in_select = TRUE; ewl_text_trigger_position(t, t->selection); - + DLEAVE_FUNCTION(DLEVEL_STABLE); } ------------------------------------------------------- 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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs