Enlightenment CVS committal Author : dj2 Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src Modified Files: ewl_entry.c Log Message: - fix warning - only show/hide cursor if the entry is editable =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/ewl_entry.c,v retrieving revision 1.121 retrieving revision 1.122 diff -u -3 -r1.121 -r1.122 --- ewl_entry.c 21 Dec 2004 01:18:11 -0000 1.121 +++ ewl_entry.c 21 Dec 2004 01:21:33 -0000 1.122 @@ -358,7 +358,6 @@ void ewl_entry_text_at_cursor_insert(Ewl_Entry * e, char *text) { - Ewl_Entry_Op *op; int pos = 0; DENTER_FUNCTION(DLEVEL_STABLE); @@ -1068,7 +1067,7 @@ e = EWL_ENTRY(w); - if (e->cursor && !VISIBLE(e->cursor)) + if (e->cursor && e->editable && !VISIBLE(e->cursor)) ewl_widget_show(e->cursor); DLEAVE_FUNCTION(DLEVEL_STABLE); @@ -1083,7 +1082,7 @@ e = EWL_ENTRY(w); - if (e->cursor && VISIBLE(e->cursor)) + if (e->cursor && e->editable && VISIBLE(e->cursor)) ewl_widget_hide(e->cursor) DLEAVE_FUNCTION(DLEVEL_STABLE); ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ enlightenment-cvs mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs