summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2013-11-13 09:32:20 +0900
committerDaniel Juyung Seo <seojuyung2@gmail.com>2013-11-13 09:32:20 +0900
commit716f2b40a594878363ce572d4d594aacc37c28f6 (patch)
treea3a8f2f1ff8a1e727733c740a7ff22d68ba37dd1 /src/bin
parent6984724ded80e4f911eb02f48400ab1aeb260d1e (diff)
test_hoversel.c: removed unnecessary weight/align set.
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/test_hoversel.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/bin/test_hoversel.c b/src/bin/test_hoversel.c
index 117d11295..f30c38d86 100644
--- a/src/bin/test_hoversel.c
+++ b/src/bin/test_hoversel.c
@@ -154,8 +154,6 @@ test_hoversel(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_
154 elm_hoversel_item_add(hoversel, "Item 2", NULL, ELM_ICON_NONE, NULL, NULL); 154 elm_hoversel_item_add(hoversel, "Item 2", NULL, ELM_ICON_NONE, NULL, NULL);
155 elm_hoversel_item_add(hoversel, "Item 3", NULL, ELM_ICON_NONE, NULL, NULL); 155 elm_hoversel_item_add(hoversel, "Item 3", NULL, ELM_ICON_NONE, NULL, NULL);
156 elm_hoversel_item_add(hoversel, "Item 4 - Long Label Here", "close", ELM_ICON_STANDARD, NULL, NULL); 156 elm_hoversel_item_add(hoversel, "Item 4 - Long Label Here", "close", ELM_ICON_STANDARD, NULL, NULL);
157 evas_object_size_hint_weight_set(hoversel, 0.0, 0.0);
158 evas_object_size_hint_align_set(hoversel, 0.5, 0.5);
159 evas_object_smart_callback_add(hoversel, "clicked", 157 evas_object_smart_callback_add(hoversel, "clicked",
160 _hoversel_clicked_cb, NULL); 158 _hoversel_clicked_cb, NULL);
161 evas_object_smart_callback_add(hoversel, "selected", 159 evas_object_smart_callback_add(hoversel, "selected",
@@ -174,8 +172,6 @@ test_hoversel(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_
174 NULL); 172 NULL);
175 elm_hoversel_item_add(hoversel, "Item 4", "close", ELM_ICON_STANDARD, NULL, 173 elm_hoversel_item_add(hoversel, "Item 4", "close", ELM_ICON_STANDARD, NULL,
176 NULL); 174 NULL);
177 evas_object_size_hint_weight_set(hoversel, 0.0, 0.0);
178 evas_object_size_hint_align_set(hoversel, 0.5, 0.5);
179 elm_box_pack_end(bx, hoversel); 175 elm_box_pack_end(bx, hoversel);
180 evas_object_show(hoversel); 176 evas_object_show(hoversel);
181 177
@@ -190,8 +186,6 @@ test_hoversel(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_
190 NULL); 186 NULL);
191 elm_hoversel_item_add(hoversel, "Item 4", "close", ELM_ICON_STANDARD, NULL, 187 elm_hoversel_item_add(hoversel, "Item 4", "close", ELM_ICON_STANDARD, NULL,
192 NULL); 188 NULL);
193 evas_object_size_hint_weight_set(hoversel, 0.0, 0.0);
194 evas_object_size_hint_align_set(hoversel, 0.5, 0.5);
195 elm_box_pack_end(bx, hoversel); 189 elm_box_pack_end(bx, hoversel);
196 evas_object_show(hoversel); 190 evas_object_show(hoversel);
197 191
@@ -206,8 +200,6 @@ test_hoversel(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_
206 NULL); 200 NULL);
207 elm_hoversel_item_add(hoversel, "Item 4", "close", ELM_ICON_STANDARD, NULL, 201 elm_hoversel_item_add(hoversel, "Item 4", "close", ELM_ICON_STANDARD, NULL,
208 NULL); 202 NULL);
209 evas_object_size_hint_weight_set(hoversel, 0.0, 0.0);
210 evas_object_size_hint_align_set(hoversel, 0.5, 0.5);
211 elm_box_pack_end(bx, hoversel); 203 elm_box_pack_end(bx, hoversel);
212 evas_object_show(hoversel); 204 evas_object_show(hoversel);
213 205
@@ -219,8 +211,6 @@ test_hoversel(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_
219 elm_hoversel_item_add(hoversel, "Item 2", "close", ELM_ICON_STANDARD, NULL, 211 elm_hoversel_item_add(hoversel, "Item 2", "close", ELM_ICON_STANDARD, NULL,
220 NULL); 212 NULL);
221 elm_object_disabled_set(hoversel, 1); 213 elm_object_disabled_set(hoversel, 1);
222 evas_object_size_hint_weight_set(hoversel, 0.0, 0.0);
223 evas_object_size_hint_align_set(hoversel, 0.5, 0.5);
224 elm_box_pack_end(bx, hoversel); 214 elm_box_pack_end(bx, hoversel);
225 evas_object_show(hoversel); 215 evas_object_show(hoversel);
226 216
@@ -242,8 +232,6 @@ test_hoversel(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_
242 NULL); 232 NULL);
243 elm_hoversel_item_add(hoversel, "Item 4", "close", ELM_ICON_STANDARD, NULL, 233 elm_hoversel_item_add(hoversel, "Item 4", "close", ELM_ICON_STANDARD, NULL,
244 NULL); 234 NULL);
245 evas_object_size_hint_weight_set(hoversel, 0.0, 0.0);
246 evas_object_size_hint_align_set(hoversel, 0.5, 0.5);
247 elm_box_pack_end(bx, hoversel); 235 elm_box_pack_end(bx, hoversel);
248 evas_object_show(hoversel); 236 evas_object_show(hoversel);
249 237