summaryrefslogtreecommitdiff
path: root/src/bin/ui/workspace/group_navigator.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/ui/workspace/group_navigator.c')
-rw-r--r--src/bin/ui/workspace/group_navigator.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/bin/ui/workspace/group_navigator.c b/src/bin/ui/workspace/group_navigator.c
index 63996b3..d7e7ae9 100644
--- a/src/bin/ui/workspace/group_navigator.c
+++ b/src/bin/ui/workspace/group_navigator.c
@@ -1124,7 +1124,7 @@ _add_part_content_get(void *data, Evas_Object *popup __UNUSED__, Evas_Object **t
1124 1124
1125 LAYOUT_PROP_ADD(box, _("Part name"), "popup", "1swallow") 1125 LAYOUT_PROP_ADD(box, _("Part name"), "popup", "1swallow")
1126 ENTRY_ADD(box, pl->popup.entry_name, true); 1126 ENTRY_ADD(box, pl->popup.entry_name, true);
1127 efl_event_callback_add(pl->popup.entry_name, ELM_ENTRY_EVENT_VALIDATE, resource_name_validator_helper, pl->part_name_validator); 1127 efl_event_callback_add(pl->popup.entry_name, EFL_UI_TEXT_EVENT_VALIDATE, resource_name_validator_helper, pl->part_name_validator);
1128 elm_object_part_text_set(pl->popup.entry_name, "guide", _("Enter the name of the new part")); 1128 elm_object_part_text_set(pl->popup.entry_name, "guide", _("Enter the name of the new part"));
1129 resource_name_validator_list_set(pl->part_name_validator, &pl->group->parts, false); 1129 resource_name_validator_list_set(pl->part_name_validator, &pl->group->parts, false);
1130 evas_object_smart_callback_add(pl->popup.entry_name, signals.elm.entry.changed, _on_part_name_changed, pl); 1130 evas_object_smart_callback_add(pl->popup.entry_name, signals.elm.entry.changed, _on_part_name_changed, pl);
@@ -1256,7 +1256,7 @@ _add_group_data_content_get(void *data, Evas_Object *popup __UNUSED__, Evas_Obje
1256 1256
1257 LAYOUT_PROP_ADD(box, _("Data item name"), "popup", "1swallow") 1257 LAYOUT_PROP_ADD(box, _("Data item name"), "popup", "1swallow")
1258 ENTRY_ADD(box, pl->popup.entry_name, true); 1258 ENTRY_ADD(box, pl->popup.entry_name, true);
1259 efl_event_callback_add(pl->popup.entry_name, ELM_ENTRY_EVENT_VALIDATE, resource_name_validator_helper, pl->group_data_name_validator); 1259 efl_event_callback_add(pl->popup.entry_name, EFL_UI_TEXT_EVENT_VALIDATE, resource_name_validator_helper, pl->group_data_name_validator);
1260 elm_object_part_text_set(pl->popup.entry_name, "guide", _("Enter the name of the new group_data")); 1260 elm_object_part_text_set(pl->popup.entry_name, "guide", _("Enter the name of the new group_data"));
1261 resource_name_validator_list_set(pl->group_data_name_validator, &pl->group->data_items, false); 1261 resource_name_validator_list_set(pl->group_data_name_validator, &pl->group->data_items, false);
1262 evas_object_smart_callback_add(pl->popup.entry_name, signals.elm.entry.changed, _on_group_data_name_changed, pl); 1262 evas_object_smart_callback_add(pl->popup.entry_name, signals.elm.entry.changed, _on_group_data_name_changed, pl);
@@ -1395,7 +1395,7 @@ _add_state_content_get(void *data, Evas_Object *popup __UNUSED__, Evas_Object **
1395 1395
1396 LAYOUT_PROP_ADD(box, _("State name"), "popup", "1swallow"); 1396 LAYOUT_PROP_ADD(box, _("State name"), "popup", "1swallow");
1397 ENTRY_ADD(item, pl->popup.entry_name, true); 1397 ENTRY_ADD(item, pl->popup.entry_name, true);
1398 efl_event_callback_add(pl->popup.entry_name, ELM_ENTRY_EVENT_VALIDATE, 1398 efl_event_callback_add(pl->popup.entry_name, EFL_UI_TEXT_EVENT_VALIDATE,
1399 elm_validator_regexp_helper, pl->name_validator); 1399 elm_validator_regexp_helper, pl->name_validator);
1400 evas_object_smart_callback_add(pl->popup.entry_name, signals.elm.entry.changed, _state_validate, pl); 1400 evas_object_smart_callback_add(pl->popup.entry_name, signals.elm.entry.changed, _state_validate, pl);
1401 elm_object_part_text_set(pl->popup.entry_name, "guide", _("Enter the name of the new state")); 1401 elm_object_part_text_set(pl->popup.entry_name, "guide", _("Enter the name of the new state"));
@@ -1545,7 +1545,7 @@ _add_item_content_get(void *data, Evas_Object *popup __UNUSED__, Evas_Object **t
1545 1545
1546 LAYOUT_PROP_ADD(box, _("Name"), "popup", "1swallow") 1546 LAYOUT_PROP_ADD(box, _("Name"), "popup", "1swallow")
1547 ENTRY_ADD(item, pl->popup.entry_name, true); 1547 ENTRY_ADD(item, pl->popup.entry_name, true);
1548 efl_event_callback_add(pl->popup.entry_name, ELM_ENTRY_EVENT_VALIDATE, 1548 efl_event_callback_add(pl->popup.entry_name, EFL_UI_TEXT_EVENT_VALIDATE,
1549 elm_validator_regexp_helper, pl->name_validator); 1549 elm_validator_regexp_helper, pl->name_validator);
1550 evas_object_smart_callback_add(pl->popup.entry_name, signals.elm.entry.changed, _item_validate, pl); 1550 evas_object_smart_callback_add(pl->popup.entry_name, signals.elm.entry.changed, _item_validate, pl);
1551 elm_object_part_text_set(pl->popup.entry_name, "guide", _("Enter the name of the new item")); 1551 elm_object_part_text_set(pl->popup.entry_name, "guide", _("Enter the name of the new item"));
@@ -1676,7 +1676,7 @@ _add_program_content_get(void *data, Evas_Object *popup __UNUSED__, Evas_Object
1676 1676
1677 LAYOUT_PROP_ADD(box, _("Program name"), "popup", "1swallow") 1677 LAYOUT_PROP_ADD(box, _("Program name"), "popup", "1swallow")
1678 ENTRY_ADD(item, pl->popup.entry_name, true); 1678 ENTRY_ADD(item, pl->popup.entry_name, true);
1679 efl_event_callback_add(pl->popup.entry_name, ELM_ENTRY_EVENT_VALIDATE, 1679 efl_event_callback_add(pl->popup.entry_name, EFL_UI_TEXT_EVENT_VALIDATE,
1680 resource_name_validator_helper, pl->program_name_validator); 1680 resource_name_validator_helper, pl->program_name_validator);
1681 resource_name_validator_list_set(pl->program_name_validator, &pl->group->programs, false); 1681 resource_name_validator_list_set(pl->program_name_validator, &pl->group->programs, false);
1682 evas_object_smart_callback_add(pl->popup.entry_name, signals.elm.entry.changed, _program_validate, pl); 1682 evas_object_smart_callback_add(pl->popup.entry_name, signals.elm.entry.changed, _program_validate, pl);