- }
- stacking = edje_object_data_get(it->base.view, "stacking");
- if (stacking)
- {
- if (!strcmp(stacking, "below"))
- evas_object_lower(it->base.view);
- else if (!strcmp(stacking, "above"))
- evas_object_raise(it->base.view);
- }
- edje_object_part_text_set(it->base.view, "elm.text", it->label);
-
- if ((!it->icon) && (minh[0] > 0))
- {
- it->icon = evas_object_rectangle_add(evas_object_evas_get(it->base.view));
- evas_object_color_set(it->icon, 0, 0, 0, 0);
- it->dummy_icon = EINA_TRUE;
- }
- if ((!it->end) && (minh[1] > 0))
- {
- it->end = evas_object_rectangle_add(evas_object_evas_get(it->base.view));
- evas_object_color_set(it->end, 0, 0, 0, 0);
- it->dummy_end = EINA_TRUE;
- }
- if (it->icon)
- {
- evas_object_size_hint_min_set(it->icon, minw[0], minh[0]);
- evas_object_size_hint_max_set(it->icon, 99999, 99999);
- edje_object_part_swallow(it->base.view, "elm.swallow.icon", it->icon);
- }
- if (it->end)
- {
- evas_object_size_hint_min_set(it->end, minw[1], minh[1]);
- evas_object_size_hint_max_set(it->end, 99999, 99999);
- edje_object_part_swallow(it->base.view, "elm.swallow.end", it->end);
- }
- if (!it->fixed)
- {
- // this may call up user and it may modify the list item
- // but we're safe as we're flagged as walking.
- // just don't process further
- edje_object_message_signal_process(it->base.view);
- if (it->deleted)
- continue;
- mw = mh = -1;
- elm_coords_finger_size_adjust(1, &mw, 1, &mh);
- edje_object_size_min_restricted_calc(it->base.view, &mw, &mh, mw, mh);
- elm_coords_finger_size_adjust(1, &mw, 1, &mh);
- evas_object_size_hint_min_set(it->base.view, mw, mh);
- evas_object_show(it->base.view);
- }
- if ((it->selected) || (it->hilighted))
- {
- const char *selectraise;
-
- // this may call up user and it may modify the list item
- // but we're safe as we're flagged as walking.
- // just don't process further
- edje_object_signal_emit(it->base.view, "elm,state,selected", "elm");
- if (it->deleted)
- continue;
-
- selectraise = edje_object_data_get(it->base.view, "selectraise");
- if ((selectraise) && (!strcmp(selectraise, "on")))
- evas_object_raise(it->base.view);
- }
+ }
+ stacking = edje_object_data_get(it->base.view, "stacking");
+ if (stacking)
+ {
+ if (!strcmp(stacking, "below"))
+ evas_object_lower(it->base.view);
+ else if (!strcmp(stacking, "above"))
+ evas_object_raise(it->base.view);
+ }
+ edje_object_part_text_set(it->base.view, "elm.text", it->label);
+
+ if ((!it->icon) && (minh[0] > 0))
+ {
+ it->icon = evas_object_rectangle_add(evas_object_evas_get(it->base.view));
+ evas_object_color_set(it->icon, 0, 0, 0, 0);
+ it->dummy_icon = EINA_TRUE;
+ }
+ if ((!it->end) && (minh[1] > 0))
+ {
+ it->end = evas_object_rectangle_add(evas_object_evas_get(it->base.view));
+ evas_object_color_set(it->end, 0, 0, 0, 0);
+ it->dummy_end = EINA_TRUE;
+ }
+ if (it->icon)
+ {
+ evas_object_size_hint_min_set(it->icon, minw[0], minh[0]);
+ evas_object_size_hint_max_set(it->icon, 99999, 99999);
+ edje_object_part_swallow(it->base.view, "elm.swallow.icon", it->icon);
+ }
+ if (it->end)
+ {
+ evas_object_size_hint_min_set(it->end, minw[1], minh[1]);
+ evas_object_size_hint_max_set(it->end, 99999, 99999);
+ edje_object_part_swallow(it->base.view, "elm.swallow.end", it->end);
+ }
+ if (!it->fixed)
+ {
+ // this may call up user and it may modify the list item
+ // but we're safe as we're flagged as walking.
+ // just don't process further
+ edje_object_message_signal_process(it->base.view);
+ if (it->deleted)
+ continue;
+ mw = mh = -1;
+ elm_coords_finger_size_adjust(1, &mw, 1, &mh);
+ edje_object_size_min_restricted_calc(it->base.view, &mw, &mh, mw, mh);
+ elm_coords_finger_size_adjust(1, &mw, 1, &mh);
+ evas_object_size_hint_min_set(it->base.view, mw, mh);
+ evas_object_show(it->base.view);
+ }
+ if ((it->selected) || (it->hilighted))
+ {
+ const char *selectraise;
+
+ // this may call up user and it may modify the list item
+ // but we're safe as we're flagged as walking.
+ // just don't process further
+ edje_object_signal_emit(it->base.view, "elm,state,selected", "elm");
+ if (it->deleted)
+ continue;
+
+ selectraise = edje_object_data_get(it->base.view, "selectraise");
+ if ((selectraise) && (!strcmp(selectraise, "on")))
+ evas_object_raise(it->base.view);
+ }