- it->labels = _elm_stringlist_get(edje_object_data_get(it->base, "labels"));
- EINA_LIST_FOREACH(it->labels, list, label)
- {
- edje_object_signal_emit(it->edit_obj, "elm,state,rename,enable", "elm");
- edje_object_signal_emit(it->edit_obj, "elm,state,ins,disable", "elm");
- edje_object_signal_emit(it->edit_obj, "elm,state,del,disable", "elm");
- edje_object_signal_emit(it->edit_obj, "elm,state,edit_end,disable", "elm");
-
- if (it->itc->func.label_get)
- {
- it->renamed = EINA_TRUE;
- swallow_part_cnt = 0;
-
- Eina_List *rename = _elm_stringlist_get(edje_object_data_get(it->edit_obj, "rename"));
- EINA_LIST_FOREACH(rename, l, rename_swallow_part)
- {
- if(label_cnt == swallow_part_cnt) {
- editfield = elm_editfield_add(it->wd->obj);
- it->wd->edit_field = eina_list_append(it->wd->edit_field, editfield);
-
-
- elm_editfield_entry_single_line_set(editfield, EINA_TRUE);
- elm_editfield_eraser_set(editfield, EINA_TRUE);
- edje_object_part_swallow(it->edit_obj, rename_swallow_part, editfield);
-
- evas_object_show(editfield);
-
- s = it->itc->func.label_get(it->data, it->wd->obj, list->data);
-
- if (s)
- {
- Evas_Object *entry = elm_editfield_entry_get(editfield);
- elm_entry_entry_set(entry,s);
-
- free(s);
- }
- else
- elm_editfield_guide_text_set(editfield, "Text Input");
- }
- swallow_part_cnt++;
- }
- label_cnt++;
- }
- }
- }
-
- if(it->wd->edit_mode == 0xF0) {
- it->wd->edit_mode = 0;
- }
+ it->labels = _elm_stringlist_get(edje_object_data_get(it->base, "labels"));
+ EINA_LIST_FOREACH(it->labels, list, label)
+ {
+ edje_object_signal_emit(it->edit_obj, "elm,state,rename,enable", "elm");
+ edje_object_signal_emit(it->edit_obj, "elm,state,ins,disable", "elm");
+ edje_object_signal_emit(it->edit_obj, "elm,state,del,disable", "elm");
+ edje_object_signal_emit(it->edit_obj, "elm,state,edit_end,disable", "elm");
+
+ if (it->itc->func.label_get)
+ {
+ it->renamed = EINA_TRUE;
+ swallow_part_cnt = 0;
+
+ Eina_List *rename = _elm_stringlist_get(edje_object_data_get(it->edit_obj, "rename"));
+ EINA_LIST_FOREACH(rename, l, rename_swallow_part)
+ {
+ if (label_cnt == swallow_part_cnt)
+ {
+ editfield = elm_editfield_add(it->wd->obj);
+ it->wd->edit_field = eina_list_append(it->wd->edit_field, editfield);
+
+
+ elm_editfield_entry_single_line_set(editfield, EINA_TRUE);
+ elm_editfield_eraser_set(editfield, EINA_TRUE);
+ edje_object_part_swallow(it->edit_obj, rename_swallow_part, editfield);
+
+ evas_object_show(editfield);
+
+ s = it->itc->func.label_get(it->data, it->wd->obj, list->data);
+
+ if (s)
+ {
+ Evas_Object *entry = elm_editfield_entry_get(editfield);
+ elm_entry_entry_set(entry,s);
+
+ free(s);
+ }
+ else
+ elm_editfield_guide_text_set(editfield, "Text Input");
+ }
+ swallow_part_cnt++;
+ }
+ label_cnt++;
+ }
+ }
+ }
+
+ if (it->wd->edit_mode == 0xF0)
+ {
+ it->wd->edit_mode = 0;
+ }