summaryrefslogtreecommitdiff
path: root/ug-nfc-setting-efl/src/ug-nfc-setting-popup.c
diff options
context:
space:
mode:
Diffstat (limited to 'ug-nfc-setting-efl/src/ug-nfc-setting-popup.c')
-rw-r--r--ug-nfc-setting-efl/src/ug-nfc-setting-popup.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ug-nfc-setting-efl/src/ug-nfc-setting-popup.c b/ug-nfc-setting-efl/src/ug-nfc-setting-popup.c
index cbec540..8e918de 100644
--- a/ug-nfc-setting-efl/src/ug-nfc-setting-popup.c
+++ b/ug-nfc-setting-efl/src/ug-nfc-setting-popup.c
@@ -129,7 +129,10 @@ Evas_Object *ug_nfc_setting_create_popup(void *data,
}
if (enable_timeout)
+ {
elm_popup_timeout_set(_popup, NFC_POPUP_AUTO_TIMEOUT_SEC);
+ evas_object_smart_callback_add(_popup, "timeout", _ug_nfc_setting_popup_response_cb, NULL);
+ }
_ug_nfc_setting_popup_show_cb(NULL);