Enlightenment CVS committal Author : dj2 Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/bin Modified Files: ewl_notebook2_test.c Log Message: - check default values in the radio buttons =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/ewl_notebook2_test.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- ewl_notebook2_test.c 3 Feb 2006 06:03:47 -0000 1.2 +++ ewl_notebook2_test.c 3 Feb 2006 06:14:01 -0000 1.3 @@ -117,8 +117,13 @@ ewl_container_child_append(EWL_CONTAINER(border), o); ewl_callback_append(o, EWL_CALLBACK_VALUE_CHANGED, notebook2_change_align, alignment[i]); + if (o2) ewl_radiobutton_chain_set(EWL_RADIOBUTTON(o), EWL_RADIOBUTTON(o2)); + + if (!strcmp(alignment[i], "center")) + ewl_radiobutton_checked_set(EWL_RADIOBUTTON(o), TRUE); + ewl_widget_show(o); o2 = o; @@ -138,8 +143,13 @@ ewl_container_child_append(EWL_CONTAINER(border), o); ewl_callback_append(o, EWL_CALLBACK_VALUE_CHANGED, notebook2_change_position, position[i]); + if (o2) ewl_radiobutton_chain_set(EWL_RADIOBUTTON(o), EWL_RADIOBUTTON(o2)); + + if (!strcmp(alignment[i], "top")) + ewl_radiobutton_checked_set(EWL_RADIOBUTTON(o), TRUE); + ewl_widget_show(o); o2 = o; ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs