Enlightenment CVS committal

Author  : moom
Project : e17
Module  : libs/etk

Dir     : e17/libs/etk/src/lib


Modified Files:
        etk_editable.c 


Log Message:
* [Editable] Fix clearing the editable object


===================================================================
RCS file: /cvs/e/e17/libs/etk/src/lib/etk_editable.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- etk_editable.c      27 Dec 2006 12:03:41 -0000      1.4
+++ etk_editable.c      7 Jan 2007 15:33:10 -0000       1.5
@@ -751,7 +751,10 @@
    if (!editable || !(sd = evas_object_smart_data_get(editable)))
       return 0;
    if (!text || *text == '\0')
+   {
+      _etk_editable_text_update(editable);
       return 0;
+   }
    
    pos = ETK_CLAMP(pos, 0, sd->unicode_length);
    



-------------------------------------------------------------------------
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

Reply via email to