summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2013-01-10 11:46:34 +0000
committerDaniel Juyung Seo <seojuyung2@gmail.com>2013-01-10 11:46:34 +0000
commit836542fdf6ecd4e8233f65e26b5fbcac695ee7ae (patch)
treeab87dfd3b35ad6954196c1ab380831b10753c826
parent8dbdcc227c5f7508b038fa3ecbb297d664509519 (diff)
elm index: Call elm_index_level_go(). It's a must.
SVN revision: 82555
-rw-r--r--src/bin/test_index.c1
-rw-r--r--src/examples/index_example_01.c1
-rw-r--r--src/examples/index_example_02.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/src/bin/test_index.c b/src/bin/test_index.c
index 3036d55e9..84b86d55b 100644
--- a/src/bin/test_index.c
+++ b/src/bin/test_index.c
@@ -293,6 +293,7 @@ test_index2_it_add(void *data, Evas_Object *obj __UNUSED__, void *event_info __U
293 NULL, test_index2_cmp); 293 NULL, test_index2_cmp);
294 elm_index_item_sorted_insert(gui->id, letter, NULL, list_it, test_index2_icmp, 294 elm_index_item_sorted_insert(gui->id, letter, NULL, list_it, test_index2_icmp,
295 test_index2_cmp); 295 test_index2_cmp);
296 elm_index_level_go(gui->id, 0);
296 elm_list_go(gui->lst); 297 elm_list_go(gui->lst);
297 /* FIXME it's not showing the recently added item */ 298 /* FIXME it's not showing the recently added item */
298 elm_list_item_show(list_it); 299 elm_list_item_show(list_it);
diff --git a/src/examples/index_example_01.c b/src/examples/index_example_01.c
index fefdb5c9a..6572316b3 100644
--- a/src/examples/index_example_01.c
+++ b/src/examples/index_example_01.c
@@ -166,6 +166,7 @@ elm_main(int argc,
166 evas_object_smart_callback_add(d.index, "delay,changed", _index_changed, 166 evas_object_smart_callback_add(d.index, "delay,changed", _index_changed,
167 NULL); 167 NULL);
168 evas_object_smart_callback_add(d.index, "selected", _index_selected, NULL); 168 evas_object_smart_callback_add(d.index, "selected", _index_selected, NULL);
169 elm_index_level_go(d.index, 0);
169 170
170 /* attribute setting knobs */ 171 /* attribute setting knobs */
171 sep = elm_separator_add(win); 172 sep = elm_separator_add(win);
diff --git a/src/examples/index_example_02.c b/src/examples/index_example_02.c
index ff2acde3b..565607446 100644
--- a/src/examples/index_example_02.c
+++ b/src/examples/index_example_02.c
@@ -143,6 +143,7 @@ elm_main(int argc,
143 evas_object_show(win); 143 evas_object_show(win);
144 144
145 elm_index_autohide_disabled_set(idx, EINA_FALSE); 145 elm_index_autohide_disabled_set(idx, EINA_FALSE);
146 elm_index_level_go(idx, 0);
146 147
147 elm_run(); 148 elm_run();
148 elm_shutdown(); 149 elm_shutdown();