Enlightenment CVS committal
Author : davemds
Project : e17
Module : libs/etk
Dir : e17/libs/etk/src/bin
Modified Files:
etk_combobox_test.c
Log Message:
removed etk_combobox_entry_autosearch_enable_set() and void
etk_combobox_entry_autosearch_column_set()
in favor of
void etk_combobox_entry_autosearch_set(Etk_Combobox_Entry *combobox_entry, int
col_num, char* (*search_function)(const char *s1, const char *s2));
Now you can also use your own searching function.
===================================================================
RCS file: /cvs/e/e17/libs/etk/src/bin/etk_combobox_test.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -3 -r1.23 -r1.24
--- etk_combobox_test.c 15 Jul 2008 00:08:15 -0000 1.23
+++ etk_combobox_test.c 17 Jul 2008 00:10:53 -0000 1.24
@@ -14,8 +14,6 @@
static void _etk_combobox_entry_populate(Etk_Combobox_Entry *combobox_entry,
char *dir);
static Etk_Bool _etk_combobox_entry_active_item_changed_cb(Etk_Object *object,
void *data);
static Etk_Bool
_etk_combobox_entry_autosearch_active_item_changed_cb(Etk_Object *object, void
*data);
-static Etk_Bool _etk_combobox_entry_text_changed_cb(Etk_Object *object, void
*data);
-static char **str_split(char **str, char *delim);
static char *cur_dir = NULL;
static Etk_Widget *win = NULL;
@@ -102,7 +100,7 @@
etk_box_append(ETK_BOX(vbox), frame, ETK_BOX_START, ETK_BOX_NONE, 0);
combobox = etk_combobox_entry_new_default();
- etk_combobox_entry_autosearch_enable_set(ETK_COMBOBOX_ENTRY(combobox),
ETK_TRUE);
+ etk_combobox_entry_autosearch_set(ETK_COMBOBOX_ENTRY(combobox), 0,
strcasestr);
for (i = 0; _keywords[i]; i++)
etk_combobox_entry_item_append(ETK_COMBOBOX_ENTRY(combobox),
_keywords[i], NULL);
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs