ADD_CUSTOM_TARGET(gallery_efl_edj_build DEPENDS attach-panel-gallery.edj attach-panel-gallery-images.edj)
ADD_DEPENDENCIES(${PROJECT_NAME} gallery_efl_edj_build)
-INSTALL(FILES ${CMAKE_BINARY_DIR}/attach-panel-gallery.edj DESTINATION ${RESDIR}/edje/attach-panel-gallery)
-INSTALL(FILES ${CMAKE_BINARY_DIR}/attach-panel-gallery-images.edj DESTINATION ${RESDIR}/edje/attach-panel-gallery)
+INSTALL(FILES ${CMAKE_BINARY_DIR}/attach-panel-gallery.edj DESTINATION ${RESDIR}/edje/${PROJECT_NAME})
+INSTALL(FILES ${CMAKE_BINARY_DIR}/attach-panel-gallery-images.edj DESTINATION ${RESDIR}/edje/${PROJECT_NAME})
INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/res/${GE_IMG_C_DIR} DESTINATION ${RESDIR}/images/attach-panel-gallery)
INSTALL(TARGETS ${PROJECT_NAME} DESTINATION ${LIBDIR})
%manifest attach-panel-gallery.manifest
%defattr(-,root,root,-)
%{TZ_SYS_RO_UG}/lib/libug-attach-panel-gallery.so*
-%{TZ_SYS_RO_UG}/res/edje/attach-panel-gallery/*
+%{TZ_SYS_RO_UG}/res/edje/ug-attach-panel-gallery/*
%{TZ_SYS_RO_UG}/res/images/attach-panel-gallery/*
%{TZ_SYS_RO_UG}/res/locale/*/*/attach-panel-gallery.mo
%{TZ_SYS_RO_PACKAGES}/attach-panel-gallery.xml
if (eo) {
r = elm_layout_file_set(eo, file, group);
if (!r) {
+ ge_dbg("failed to load layout");
evas_object_del(eo);
return NULL;
}
void _ge_grid_change_selection_mode(ge_ugdata *ugd, bool state)
{
+ GE_CHECK(ugd);
+ GE_CHECK(ugd->thumbs_d);
ge_dbg("changing selection type and mode is %d", _ge_get_view_mode(ugd));
#if 0
ugd->selected_elist = NULL;