summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorRyuan Choi <ryuan.choi@gmail.com>2014-01-16 23:48:36 +0900
committerRyuan Choi <ryuan.choi@gmail.com>2014-01-16 23:48:36 +0900
commitaf2170a8ec53a9e56b54493c2396517864cce474 (patch)
tree1e60236a14002653ce875aa9dbdc8cfe8aaee10d /src/bin
parent28609ee56e8b2d1a8a693bac1f512ea805a146b9 (diff)
test_flipselector: Fixed that buttons use wrong flipselector which is not intended.
Since e2db48abe, disabled flipselector was passed button callbacks. So, buttons just print warnings instead of the intended behavior.
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/test_flipselector.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/bin/test_flipselector.c b/src/bin/test_flipselector.c
index 71cf48dec..62a67cff0 100644
--- a/src/bin/test_flipselector.c
+++ b/src/bin/test_flipselector.c
@@ -81,7 +81,7 @@ test_flipselector(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *ev
81{ 81{
82 char buf[8]; 82 char buf[8];
83 unsigned int i; 83 unsigned int i;
84 Evas_Object *win, *bx, *fp, *bt, *bx2, *sl; 84 Evas_Object *win, *bx, *fp, *fpd, *bt, *bx2, *sl;
85 Elm_Object_Item *it; 85 Elm_Object_Item *it;
86 static const char *lbl[] = { 86 static const char *lbl[] = {
87 "Elementary", 87 "Elementary",
@@ -148,12 +148,12 @@ test_flipselector(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *ev
148 elm_box_pack_end(bx2, bt); 148 elm_box_pack_end(bx2, bt);
149 evas_object_show(bt); 149 evas_object_show(bt);
150 150
151 fp = elm_flipselector_add(bx); 151 fpd = elm_flipselector_add(bx);
152 evas_object_size_hint_weight_set(fp, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); 152 evas_object_size_hint_weight_set(fpd, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
153 elm_flipselector_item_append(fp, "disabled", NULL, NULL); 153 elm_flipselector_item_append(fpd, "disabled", NULL, NULL);
154 elm_object_disabled_set(fp, EINA_TRUE); 154 elm_object_disabled_set(fpd, EINA_TRUE);
155 elm_box_pack_end(bx, fp); 155 elm_box_pack_end(bx, fpd);
156 evas_object_show(fp); 156 evas_object_show(fpd);
157 157
158 sl = elm_slider_add(bx); 158 sl = elm_slider_add(bx);
159 elm_object_text_set(sl, "Flip Interval:"); 159 elm_object_text_set(sl, "Flip Interval:");