Enlightenment CVS committal Author : moom Project : e17 Module : libs/etk
Dir : e17/libs/etk/src/bin Modified Files: etk_combobox_test.c Log Message: * [Object] The default-handler is now called before all the callbacks when a signal is emitted. Since the calling order is changed, the behavior of some things may be different. Please tell me if you notice some thing that has not a correct behaviour anymore. =================================================================== RCS file: /cvs/e/e17/libs/etk/src/bin/etk_combobox_test.c,v retrieving revision 1.7 retrieving revision 1.8 diff -u -3 -r1.7 -r1.8 --- etk_combobox_test.c 15 Aug 2006 15:59:01 -0000 1.7 +++ etk_combobox_test.c 13 Jan 2007 05:52:40 -0000 1.8 @@ -10,7 +10,7 @@ void etk_test_combobox_window_create(void *data) { static Etk_Widget *win = NULL; - Etk_Widget *vbox; + Etk_Widget *vbox, *vbox2; Etk_Widget *combobox; Etk_Widget *image; Etk_Widget *frame; @@ -46,17 +46,17 @@ frame = etk_frame_new("Some stock icons"); etk_box_append(ETK_BOX(vbox), frame, ETK_BOX_START, ETK_BOX_NONE, 0); - vbox = etk_vbox_new(ETK_FALSE, 3); - etk_container_add(ETK_CONTAINER(frame), vbox); + vbox2 = etk_vbox_new(ETK_FALSE, 3); + etk_container_add(ETK_CONTAINER(frame), vbox2); image = etk_image_new_from_stock(STARTING_STOCK_ID, ETK_STOCK_BIG); - etk_box_append(ETK_BOX(vbox), image, ETK_BOX_START, ETK_BOX_NONE, 0); + etk_box_append(ETK_BOX(vbox2), image, ETK_BOX_START, ETK_BOX_NONE, 0); combobox = etk_combobox_new(); - etk_combobox_column_add(ETK_COMBOBOX(combobox), ETK_COMBOBOX_IMAGE, 24, ETK_FALSE, ETK_BOX_START, ETK_BOX_NONE, 0.0, 0.5); - etk_combobox_column_add(ETK_COMBOBOX(combobox), ETK_COMBOBOX_LABEL, 75, ETK_TRUE, ETK_BOX_START, ETK_BOX_NONE, 0.0, 0.5); + etk_combobox_column_add(ETK_COMBOBOX(combobox), ETK_COMBOBOX_IMAGE, 24, ETK_FALSE, ETK_FALSE, ETK_FALSE, 0.0, 0.5); + etk_combobox_column_add(ETK_COMBOBOX(combobox), ETK_COMBOBOX_LABEL, 75, ETK_TRUE, ETK_FALSE, ETK_FALSE, 0.0, 0.5); etk_combobox_build(ETK_COMBOBOX(combobox)); - etk_box_append(ETK_BOX(vbox), combobox, ETK_BOX_START, ETK_BOX_NONE, 0); + etk_box_append(ETK_BOX(vbox2), combobox, ETK_BOX_START, ETK_BOX_NONE, 0); etk_signal_connect("active_item_changed", ETK_OBJECT(combobox), ETK_CALLBACK(_etk_test_combobox_active_item_changed_cb), image); for (i = STARTING_STOCK_ID; i <= ENDING_STOCK_ID; i++) ------------------------------------------------------------------------- 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