Enlightenment CVS committal Author : mekius Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/lib Modified Files: ewl_text.c Log Message: Patch to the new ewl_text_obscure_set to allow unsetting of the obscure. Fix from pfritz. =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_text.c,v retrieving revision 1.191 retrieving revision 1.192 diff -u -3 -r1.191 -r1.192 --- ewl_text.c 4 Apr 2008 00:25:50 -0000 1.191 +++ ewl_text.c 5 Apr 2008 21:36:14 -0000 1.192 @@ -764,8 +764,9 @@ /* free the old character */ IF_FREE(t->obscure); - /* do some checking */ - if (ewl_text_char_utf8_is(o)) { + if (!o) + t->obscure = NULL; + else if (ewl_text_char_utf8_is(o)) { size_t len; len = EWL_TEXT_CHAR_BYTE_LEN(o); @@ -775,6 +776,9 @@ } else t->obscure = strdup("*"); + + t->dirty = TRUE; + ewl_widget_configure(EWL_WIDGET(t)); DLEAVE_FUNCTION(DLEVEL_STABLE); } ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs