enter_text_popup_description_set(popup, "Device names are displayed to distinguish each of the devices available via Bluetooth, Wi-Fi Direct, and other methods.");
enter_text_popup_header_set(popup, "Name");
enter_text_popup_guide_text_set(popup, "Device name");
+
+ char *name_value = vconf_get_str(VCONFKEY_SETAPPL_DEVICE_NAME_STR);
+ if (name_value) {
+ char *str_name = elm_entry_utf8_to_markup(name_value);
+ FREE(name_value);
+ if (str_name) {
+ enter_text_popup_text_set(popup, str_name);
+ FREE(str_name);
+ }
+ }
+
evas_object_smart_callback_add(popup, "confirmed", _device_name_accepted_popup_callback, ad);
evas_object_smart_callback_add(popup, "rejected", _device_name_rejected_popup_callback, ad);
evas_object_show(popup);