IF("$ENV{CFLAGS}" MATCHES "-DTIZEN_WEARABLE")
SET(TABLEDIR "/usr/apps/org.tizen.bt-syspopup/shared/res/tables")
+SET(IMAGE_DIR "/usr/apps/org.tizen.bt-syspopup/res/images/")
ENDIF()
IF("${CMAKE_BUILD_TYPE}" STREQUAL "")
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/data/custom_popup.edj DESTINATION ${TZ_SYS_RO_APP}/org.tizen.bt-syspopup/res/edje)
IF("$ENV{CFLAGS}" MATCHES "-DTIZEN_WEARABLE")
INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/tables/ DESTINATION ${TABLEDIR} FILES_MATCHING PATTERN "*.xml")
+INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/data/images/ DESTINATION ${IMAGE_DIR} FILES_MATCHING PATTERN "tw_ic_popup*.png")
ENDIF()
Name: org.tizen.bt-syspopup
Summary: bluetooth system-popup application (bluetooth system popup)
-Version: 0.3.1
+Version: 0.3.2
Release: 0
Group: main
License: Flora-1.1
%{TZ_SYS_RO_APP}/org.tizen.bt-syspopup/res/edje/*.edj
%{TZ_SYS_SHARE}/icons/default/small/org.tizen.bt-syspopup.png
%if "%{?profile}" == "wearable"
-/usr/apps/org.tizen.bt-syspopup/shared/res/tables/org.tizen.bt-syspopup_ChangeableColorTable.xml
-/usr/apps/org.tizen.bt-syspopup/shared/res/tables/org.tizen.bt-syspopup_FontInfoTable.xml
+%{TZ_SYS_RO_APP}/org.tizen.bt-syspopup/shared/res/tables/org.tizen.bt-syspopup_ChangeableColorTable.xml
+%{TZ_SYS_RO_APP}/org.tizen.bt-syspopup/shared/res/tables/org.tizen.bt-syspopup_FontInfoTable.xml
+%{TZ_SYS_RO_APP}/org.tizen.bt-syspopup/res/images/*
%endif
FN_END;
}
+static void __bluetooth_back_key_cb(void *data, Evas_Object *obj, void *event_info)
+{
+ FN_START;
+
+ struct bt_popup_appdata *ad = data;
+
+ __bluetooth_remove_all_event(ad);
+ __bluetooth_win_del(ad);
+
+ FN_END;
+}
+
+
static bool __bluetooth_create(void *data)
{
struct bt_popup_appdata *ad = data;
}
#endif
+ eext_object_event_callback_del(ad->win_main, EEXT_CALLBACK_BACK, __bluetooth_back_key_cb);
+
if (ad->popup)
evas_object_del(ad->popup);
__lock_display();
}
+ eext_object_event_callback_add(ad->win_main, EEXT_CALLBACK_BACK, __bluetooth_back_key_cb, ad);
+
return;
}