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(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/res/${GE_IMG_C_DIR} DESTINATION ${RESDIR}/images/${PROJECT_NAME})
INSTALL(TARGETS ${PROJECT_NAME} DESTINATION ${LIBDIR})
INSTALL(FILES attach-panel-gallery.xml DESTINATION ${TZ_SYS_RO_PACKAGES})
%defattr(-,root,root,-)
%{TZ_SYS_RO_UG}/lib/libug-attach-panel-gallery.so*
%{TZ_SYS_RO_UG}/res/edje/ug-attach-panel-gallery/*
-%{TZ_SYS_RO_UG}/res/images/attach-panel-gallery/*
+%{TZ_SYS_RO_UG}/res/images/ug-attach-panel-gallery/*
%{TZ_SYS_RO_UG}/res/locale/*/*/attach-panel-gallery.mo
%{TZ_SYS_RO_PACKAGES}/attach-panel-gallery.xml
%{TZ_SYS_RO_UG}/res/images/attach-panel-gallery/attach-panel-gallery.png
stat(sit->file_url, &stFileInfo);
#endif
if (state == EINA_TRUE) {
- if (!g_strcmp0(gitem->item->thumb_url, DEFAULT_THUMBNAIL)) {
+ if ((!gitem->item->thumb_url) || (!g_strcmp0(gitem->item->thumb_url, DEFAULT_THUMBNAIL)) ||
+ (strlen(gitem->item->thumb_url) == 0)) {
elm_check_state_set(obj, EINA_FALSE);
char *pStrWarning = g_strdup_printf(
GE_STR_UNSUPPORTED_FILE);
if (!g_strcmp0(part, "content_swallow")) {
ge_dbgE("gitem->item->thumb_url : %s", gitem->item->thumb_url);
/* Use default image */
- if (!g_strcmp0(gitem->item->thumb_url, DEFAULT_THUMBNAIL)) {
+ if ((!gitem->item->thumb_url) || (!g_strcmp0(gitem->item->thumb_url, DEFAULT_THUMBNAIL)) ||
+ (strlen(gitem->item->thumb_url) == 0)) {
path = GE_ICON_CONTENTS_BROKEN;
} else {
path = gitem->item->thumb_url;
int ret = -1;
- if (!g_strcmp0(gitem->item->thumb_url, DEFAULT_THUMBNAIL)) {
+ if ((!gitem->item->thumb_url) || (!g_strcmp0(gitem->item->thumb_url, DEFAULT_THUMBNAIL)) ||
+ (strlen(gitem->item->thumb_url) == 0)) {
char *pStrWarning = g_strdup_printf(GE_STR_UNSUPPORTED_FILE);
notification_status_message_post(pStrWarning);
GE_FREE(pStrWarning);
Eina_Bool bl = elm_check_state_get(ck);
if (bl == EINA_FALSE) {
- if (!g_strcmp0(gitem->item->thumb_url, DEFAULT_THUMBNAIL)) {
+ if ((!gitem->item->thumb_url) || (!g_strcmp0(gitem->item->thumb_url, DEFAULT_THUMBNAIL)) ||
+ (strlen(gitem->item->thumb_url) == 0)) {
char *pStrWarning = g_strdup_printf(
GE_STR_UNSUPPORTED_FILE);
notification_status_message_post(pStrWarning);