Enlightenment CVS committal

Author  : pfritz
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/bin/tests/button


Modified Files:
        ewl_button.c 


Log Message:
use ewl_checkbutton_checked_set() instead of ewl_radiobutton_checked_set()
NOTE:
ewl_radiobutton_checked_set() and ewl_radiobutton_is_checked() are going to be 
removed soon.

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/button/ewl_button.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- ewl_button.c        13 Nov 2007 22:32:12 -0000      1.12
+++ ewl_button.c        14 Nov 2007 21:15:00 -0000      1.13
@@ -143,7 +143,8 @@
         * Create a check button with a label and checked.
         */
        check_button[1]  = ewl_checkbutton_new();
-       ewl_button_label_set(EWL_BUTTON(check_button[1] ), "With Label and 
checked");
+       ewl_button_label_set(EWL_BUTTON(check_button[1] ), 
+                                               "With Label and checked");
        ewl_checkbutton_checked_set(EWL_CHECKBUTTON(check_button[1]), TRUE);
        ewl_container_child_append(EWL_CONTAINER(vbox), check_button[1]);
        ewl_widget_show(check_button[1]);
@@ -184,7 +185,7 @@
         */
        radio_button[0]  = ewl_radiobutton_new();
        ewl_button_label_set(EWL_BUTTON(radio_button[0] ), "With Label");
-       ewl_radiobutton_checked_set(radio_button[0], TRUE);
+       ewl_checkbutton_checked_set(EWL_CHECKBUTTON(radio_button[0]), TRUE);
        ewl_container_child_append(EWL_CONTAINER(vbox), radio_button[0]);
        ewl_widget_show(radio_button[0]);
 
@@ -196,7 +197,7 @@
 
        radio_button[2]  = ewl_radiobutton_new();
        ewl_button_label_set(EWL_BUTTON(radio_button[2] ), "Disabled");
-       ewl_radiobutton_checked_set(radio_button[2], TRUE);
+       ewl_checkbutton_checked_set(EWL_CHECKBUTTON(radio_button[2]), TRUE);
        ewl_container_child_append(EWL_CONTAINER(vbox), radio_button[2]);
        ewl_widget_disable(radio_button[2]);
        ewl_widget_show(radio_button[2]);



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to