%defattr(-,root,root,-)
%{TZ_SYS_RO_APP}/org.tizen.system-syspopup/bin/system-syspopup
%if "%{?profile}" == "mobile"
-%{TZ_SYS_RO_APP}/org.tizen.system-syspopup/shared/res/system-syspopup.edj
+%{TZ_SYS_RO_APP}/org.tizen.system-syspopup/shared/res/usb.edj
%endif
%{TZ_SYS_RO_SHARE}/packages/org.tizen.system-syspopup.xml
%endif
IF(USB_POPUP STREQUAL on)
IF(PROFILE_MOBILE)
ADD_DEFINITIONS("-DSYSTEM_RES=\"${SYSTEM_RES}\"")
- ADD_DEFINITIONS("-DELM_SYSTEM_EDC=\"${SYSTEM_RES}/${PACKAGE}.edj\"")
+ ADD_DEFINITIONS("-DELM_USB_EDC=\"${SYSTEM_RES}/usb.edj\"")
ENDIF()
ENDIF(USB_POPUP STREQUAL on)
IF(USB_POPUP STREQUAL on)
IF(PROFILE_MOBILE)
- ADD_CUSTOM_TARGET(${PACKAGE}.edj
- COMMAND edje_cc -no-save ${CMAKE_SOURCE_DIR}/src/usb/${PACKAGE}.edc ${CMAKE_BINARY_DIR}/${PACKAGE}.edj
- DEPENDS ${CMAKE_SOURCE_DIR}/src/usb/${PACKAGE}.edc
- COMMENT "making edj file"
+ ADD_CUSTOM_TARGET(usb.edj
+ COMMAND edje_cc -no-save ${CMAKE_SOURCE_DIR}/src/usb/usb.edc ${CMAKE_BINARY_DIR}/usb.edj
+ DEPENDS ${CMAKE_SOURCE_DIR}/src/usb/usb.edc
+ COMMENT "making usb edj file"
)
- ADD_DEPENDENCIES(${PACKAGE} ${PACKAGE}.edj)
- INSTALL(FILES ${CMAKE_BINARY_DIR}/${PACKAGE}.edj DESTINATION ${SYSTEM_RES})
+ ADD_DEPENDENCIES(${PACKAGE} usb.edj)
+ INSTALL(FILES ${CMAKE_BINARY_DIR}/usb.edj DESTINATION ${SYSTEM_RES})
ENDIF()
ENDIF(USB_POPUP STREQUAL on)
/* layout */
layout = elm_layout_add(popup);
- elm_layout_file_set(layout, ELM_SYSTEM_EDC, "popup_checkview_layout");
+ elm_layout_file_set(layout, ELM_USB_EDC, "popup_checkview_layout");
evas_object_size_hint_weight_set(layout, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
elm_object_part_text_set(layout, "elm.text", "Description text");