Enlightenment CVS committal

Author  : codewarrior
Project : e17
Module  : proto

Dir     : e17/proto/etk/src/lib


Modified Files:
        etk_spinner.c 


Log Message:
[Etk_Spinner] Make sure we update the spinners value from the text when we hit 
the up / down arrow. This solves a bug when entering the value using the 
keyboard then trying to use the arrows.


===================================================================
RCS file: /cvs/e/e17/proto/etk/src/lib/etk_spinner.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- etk_spinner.c       19 Dec 2006 21:40:24 -0000      1.2
+++ etk_spinner.c       19 Dec 2006 21:43:50 -0000      1.3
@@ -606,6 +606,8 @@
    
    if (!(spinner = ETK_SPINNER(data)))
       return 1;
+
+   _etk_spinner_update_value_from_text(spinner);
    
    range = ETK_RANGE(spinner);
    etk_range_value_set(range, range->value - range->step_increment);
@@ -624,6 +626,8 @@
    
    if (!(spinner = ETK_SPINNER(data)))
       return 1;
+
+   _etk_spinner_update_value_from_text(spinner);
    
    range = ETK_RANGE(spinner);
    etk_range_value_set(range, range->value + range->step_increment);



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