Enlightenment CVS committal Author : moom16 Project : e17 Module : proto
Dir : e17/proto/etk/src/bin Modified Files: Makefile.am etk_combobox_test.c etk_tree_test.c Log Message: * Fix etk_window_center_on_window * Fix etk_window_resize * [API BREAK] When clicking on a row header, the row is sorted asc, and if clicking again, sorted desc. * Some work etk_combobox =================================================================== RCS file: /cvsroot/enlightenment/e17/proto/etk/src/bin/Makefile.am,v retrieving revision 1.12 retrieving revision 1.13 diff -u -3 -r1.12 -r1.13 --- Makefile.am 4 Mar 2006 23:29:46 -0000 1.12 +++ Makefile.am 12 Mar 2006 12:13:02 -0000 1.13 @@ -10,7 +10,7 @@ EXTRA_DIST = INCLUDES = \ --I. -I$(top_srcdir)/src/lib -Wall -g \ +-I. -I../.. -I$(top_srcdir)/src/lib -Wall -g \ @EVAS_CFLAGS@ @ECORE_CFLAGS@ @EDJE_CFLAGS@ bin_PROGRAMS = etk_test =================================================================== RCS file: /cvsroot/enlightenment/e17/proto/etk/src/bin/etk_combobox_test.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- etk_combobox_test.c 4 Mar 2006 23:29:46 -0000 1.1 +++ etk_combobox_test.c 12 Mar 2006 12:13:02 -0000 1.2 @@ -21,8 +21,12 @@ vbox = etk_vbox_new(ETK_FALSE, 3); etk_container_add(ETK_CONTAINER(win), vbox); - combobox = etk_combobox_new(); + combobox = etk_combobox_new_default(); etk_box_pack_start(ETK_BOX(vbox), combobox, ETK_FALSE, ETK_FALSE, 0); + + etk_combobox_item_append(ETK_COMBOBOX(combobox), NULL, "Test 1"); + etk_combobox_item_append(ETK_COMBOBOX(combobox), NULL, "Test 2"); + etk_combobox_item_append(ETK_COMBOBOX(combobox), NULL, "Test 3"); etk_widget_show_all(win); } =================================================================== RCS file: /cvsroot/enlightenment/e17/proto/etk/src/bin/etk_tree_test.c,v retrieving revision 1.28 retrieving revision 1.29 diff -u -3 -r1.28 -r1.29 --- etk_tree_test.c 1 Mar 2006 23:51:20 -0000 1.28 +++ etk_tree_test.c 12 Mar 2006 12:13:02 -0000 1.29 @@ -94,7 +94,7 @@ etk_tree_multiple_select_set(ETK_TREE(tree), ETK_TRUE); col1 = etk_tree_col_new(ETK_TREE(tree), _("Column 1"), etk_tree_model_icon_text_new(ETK_TREE(tree), ETK_TREE_FROM_FILE), 90); col2 = etk_tree_col_new(ETK_TREE(tree), _("Column 2"), etk_tree_model_int_new(ETK_TREE(tree)), 90); - etk_tree_col_sort_func_set(col2, _etk_test_tree_compare_cb, ETK_TRUE, NULL); + etk_tree_col_sort_func_set(col2, _etk_test_tree_compare_cb, NULL); col3 = etk_tree_col_new(ETK_TREE(tree), _("Column 3"), etk_tree_model_image_new(ETK_TREE(tree), ETK_TREE_FROM_FILE), 90); etk_tree_build(ETK_TREE(tree)); @@ -137,6 +137,7 @@ etk_widget_show_all(win); } +/* TODO: doc */ static void _etk_test_tree_drag_drop_cb(Etk_Object *object, void *event, void *data) { Etk_Tree *tree; @@ -150,6 +151,7 @@ printf(_("Row dropped on %p: \"%s\" %d %s\n"), row, col1_string, col2_value, col3_path); } +/* TODO: doc */ static void _etk_test_tree_drag_begin_cb(Etk_Object *object, void *data) { Etk_Tree *tree; ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs