Evas_Object *icon = NULL;
std::string path = get_resource_path();
+ if (_WEARABLE)
+ path = path + "wearable/";
+ else if (_TV)
+ path = path + "tv/";
+ else
+ path = path + "mobile/";
popup = elm_popup_add(voicedata->naviframe);
elm_object_style_set(popup, "circle");
-// uxt_popup_set_rotary_event_enabled(popup, EINA_TRUE);
eext_object_event_callback_add(popup, EEXT_CALLBACK_BACK, popup_hide_cb, NULL);
evas_object_smart_callback_add(popup, "dismissed", popup_hide_finished_cb, NULL);
evas_object_size_hint_weight_set(popup, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
layout = elm_layout_add(popup);
elm_layout_theme_set(layout, "layout", "popup", "content/circle/buttons2");
- elm_object_domain_translatable_part_text_set(layout, "elm.text", PACKAGE, "IDS_ST_SK_OK");
+ elm_object_domain_translatable_part_text_set(layout, "elm.text", PACKAGE, "WDS_WNOTI_POP_ALL_CHANGES_WILL_BE_DISCARDED");
elm_object_content_set(popup, layout);
evas_object_show(layout);
, more_option_layout(NULL)
, item(NULL)
, option_opened(EINA_FALSE)
- , discard_popup_opened(EINA_FALSE)
- , voicedata(voicedata) {
+ , voicedata(voicedata)
+ , discard_popup_opened(EINA_FALSE) {
/** todo. implement constructor */
voice_input_back_agree = false;
}