From 5df77cb4a5c7dc3182f1c1dd000a9aa929ff812b Mon Sep 17 00:00:00 2001 From: Daniel Juyung Seo Date: Fri, 6 Jan 2012 11:49:05 +0000 Subject: [PATCH] exactness: Applied recent elm toolbar API changes. elm_toolbar_mode_shrink_set -> elm_toolbar_shrink_mode_set SVN revision: 66942 --- src/bin/test_panel.c | 4 ++-- src/bin/test_toolbar.c | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/bin/test_panel.c b/src/bin/test_panel.c index 03e276b..b98a235 100644 --- a/src/bin/test_panel.c +++ b/src/bin/test_panel.c @@ -172,7 +172,7 @@ TEST_START(test_panel) toolbar = elm_toolbar_add(win); elm_toolbar_homogeneous_set(toolbar, 0); - elm_toolbar_mode_shrink_set(toolbar, ELM_TOOLBAR_SHRINK_NONE); + elm_toolbar_shrink_mode_set(toolbar, ELM_TOOLBAR_SHRINK_NONE); evas_object_size_hint_weight_set(toolbar, EVAS_HINT_EXPAND, 0); evas_object_size_hint_align_set(toolbar, EVAS_HINT_FILL, EVAS_HINT_FILL); evas_object_show(toolbar); @@ -236,7 +236,7 @@ TEST_START(test_panel) toolbar = elm_toolbar_add(win); elm_toolbar_homogeneous_set(toolbar, 0); - elm_toolbar_mode_shrink_set(toolbar, ELM_TOOLBAR_SHRINK_NONE); + elm_toolbar_shrink_mode_set(toolbar, ELM_TOOLBAR_SHRINK_NONE); evas_object_size_hint_weight_set(toolbar, EVAS_HINT_EXPAND, 0); evas_object_size_hint_align_set(toolbar, EVAS_HINT_FILL, EVAS_HINT_FILL); evas_object_show(toolbar); diff --git a/src/bin/test_toolbar.c b/src/bin/test_toolbar.c index 7dc47a7..637215e 100644 --- a/src/bin/test_toolbar.c +++ b/src/bin/test_toolbar.c @@ -78,7 +78,7 @@ TEST_START(test_toolbar) tb = elm_toolbar_add(win); elm_toolbar_homogeneous_set(tb, 0); - elm_toolbar_mode_shrink_set(tb, ELM_TOOLBAR_SHRINK_MENU); + elm_toolbar_shrink_mode_set(tb, ELM_TOOLBAR_SHRINK_MENU); evas_object_size_hint_weight_set(tb, 0.0, 0.0); evas_object_size_hint_align_set(tb, EVAS_HINT_FILL, 0.0); @@ -184,7 +184,7 @@ TEST_START(test_toolbar2) tb = elm_toolbar_add(win); elm_toolbar_homogeneous_set(tb, 0); - elm_toolbar_mode_shrink_set(tb, ELM_TOOLBAR_SHRINK_SCROLL); + elm_toolbar_shrink_mode_set(tb, ELM_TOOLBAR_SHRINK_SCROLL); evas_object_size_hint_weight_set(tb, 0.0, 0.0); evas_object_size_hint_align_set(tb, EVAS_HINT_FILL, 0.0); @@ -290,7 +290,7 @@ TEST_START(test_toolbar3) tb = elm_toolbar_add(win); elm_toolbar_homogeneous_set(tb, 0); - elm_toolbar_mode_shrink_set(tb, ELM_TOOLBAR_SHRINK_NONE); + elm_toolbar_shrink_mode_set(tb, ELM_TOOLBAR_SHRINK_NONE); evas_object_size_hint_weight_set(tb, 0.0, 0.0); evas_object_size_hint_align_set(tb, EVAS_HINT_FILL, 0.0); @@ -396,7 +396,7 @@ TEST_START(test_toolbar4) tb = elm_toolbar_add(win); elm_toolbar_homogeneous_set(tb, 0); - elm_toolbar_mode_shrink_set(tb, ELM_TOOLBAR_SHRINK_HIDE); + elm_toolbar_shrink_mode_set(tb, ELM_TOOLBAR_SHRINK_HIDE); evas_object_size_hint_weight_set(tb, 0.0, 0.0); evas_object_size_hint_align_set(tb, EVAS_HINT_FILL, 0.0); @@ -502,7 +502,7 @@ TEST_START(test_toolbar5) tb = elm_toolbar_add(win); elm_toolbar_homogeneous_set(tb, 0); - elm_toolbar_mode_shrink_set(tb, ELM_TOOLBAR_SHRINK_MENU); + elm_toolbar_shrink_mode_set(tb, ELM_TOOLBAR_SHRINK_MENU); evas_object_size_hint_weight_set(tb, 0.0, 0.0); evas_object_size_hint_align_set(tb, EVAS_HINT_FILL, 0.0); elm_toolbar_no_select_mode_set(tb, EINA_TRUE); @@ -613,7 +613,7 @@ TEST_START(test_toolbar6) tb = elm_toolbar_add(win); elm_toolbar_horizontal_set(tb, EINA_FALSE); - elm_toolbar_mode_shrink_set(tb, ELM_TOOLBAR_SHRINK_MENU); + elm_toolbar_shrink_mode_set(tb, ELM_TOOLBAR_SHRINK_MENU); evas_object_size_hint_weight_set(tb, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); evas_object_size_hint_align_set(tb, EVAS_HINT_FILL, EVAS_HINT_FILL);