From e8606f0ba724074027d367b4bdb87eff9a6e6551 Mon Sep 17 00:00:00 2001 From: "bhutani.92" Date: Wed, 24 Aug 2016 12:02:52 +0530 Subject: [PATCH] Changed main view from genlist to gengrid Change-Id: Ie863479dd7b9a6b8262d32345adc47ca8d29abfc Signed-off-by: bhutani.92 --- inc/mf-resource.h | 1 - res/edje/myfile_category.edc | 198 +++++++++++++++++++++---------------------- src/widget/mf-tray-item.c | 43 ++++++++++ 3 files changed, 141 insertions(+), 101 deletions(-) diff --git a/inc/mf-resource.h b/inc/mf-resource.h index 232f250..37d1b99 100755 --- a/inc/mf-resource.h +++ b/inc/mf-resource.h @@ -314,7 +314,6 @@ #define MF_LABE_MAX_COUNT_REACH "Max count of shortcut is 20" #define MF_LABEL_THIS_ITEM_WILL_DELETE "IDS_DM_POP_THIS_ITEM_WILL_BE_DELETED_ABB" #define MF_LABEL_ITEMS_WILL_DELETE "IDS_DM_POP_PD_ITEMS_WILL_BE_DELETED_ABB2" -#define MF_LABEL_DELETE_SHORTCUT "Delete shortcut" #define MF_LABEL_FOLDER_NAME_ALREADY_INUSE "IDS_MF_TPOP_FOLDER_NAME_ALREADY_IN_USE" #define MF_LABEL_SHORTCUT_ALREADY_INUSE "Shortcut already in use." #define MF_LABEL_TIME "IDS_MF_BODY_TIME" diff --git a/res/edje/myfile_category.edc b/res/edje/myfile_category.edc index 0d147c7..e29f03e 100755 --- a/res/edje/myfile_category.edc +++ b/res/edje/myfile_category.edc @@ -21,10 +21,10 @@ ***********************************************/ #define CATEGORY_ITEM_HEIGHT 137 #define CATEGORY_ITEM_WIDTH 160 -#define CATEGORY_ITEM_TOP_PADDING_H 26 -#define CATEGORY_ITEM_BOTTOM_PADDING_H 26 -#define CATEGORY_ITEM_LEFT_PADDING_W 26 -#define CATEGORY_ITEM_RIGHT_PADDING_W 26 +#define CATEGORY_ITEM_TOP_PADDING_H 15 +#define CATEGORY_ITEM_BOTTOM_PADDING_H 15 +#define CATEGORY_ITEM_LEFT_PADDING_W 15 +#define CATEGORY_ITEM_RIGHT_PADDING_W 15 #define CATEGORY_ITEM_DIVIDER_W 2 #define CATEGORY_ITEM_DIVIDER_H 113 @@ -210,7 +210,7 @@ styles{ description { \ state: "default" 0.0; \ visible: 0; \ - rel1 { relative: 0.0 0.17; } \ + rel1 { relative: 0.0 0.0; } \ rel2 { relative: 1.0 1.0; } \ color: 255 255 255 255; \ } \ @@ -227,11 +227,11 @@ styles{ fixed: 1 1; \ align: 0.5 0.5; \ rel1 { \ - relative: 0.05 0.2; \ + relative: 0.05 0.3; \ to: part_name"_bg"; \ } \ rel2 { \ - relative: 0.1 0.6; \ + relative: 0.32 0.8; \ to: part_name"_bg"; \ } \ image { normal: image_path; } \ @@ -244,11 +244,11 @@ styles{ align: 0.5 0.5; \ fixed: 1 1; \ rel1 { \ - relative: 0.02 0.2; \ + relative: 0.05 0.0; \ to: part_name"_bg"; \ } \ rel2 { \ - relative: 0.07 0.6; \ + relative: 0.15 1.0; \ to: part_name"_bg"; \ } \ image { normal: image_path; } \ @@ -268,17 +268,17 @@ styles{ state: "default" 0.0; \ align: 0 0.5; \ rel1 { \ - relative: 37/240 45/137; \ + relative: 15/240 0.2; \ to: part_name"_bg"; \ } \ rel2 { \ - relative: 190/240 60/137; \ + relative: 225/240 0.5; \ to: part_name"_bg"; \ } \ text { \ font:"Tizen:style=Regular"; \ - size:36; \ - align: 0 0.5; \ + size:32; \ + align: 1.0 0.5; \ } \ color: 0 0 0 255; \ } \ @@ -290,13 +290,13 @@ styles{ to: part_name"_bg"; \ } \ rel2 { \ - relative: 190/240 60/137; \ + relative: 220/240 60/137; \ to: part_name"_bg"; \ } \ text { \ font:"Tizen:style=Regular"; \ - size:36; \ - align: 0 0.5; \ + size:32; \ + align: 1 0.5; \ } \ color: 0 0 0 255; \ } \ @@ -306,7 +306,7 @@ styles{ text { \ font:"Tizen:style=Regular"; \ size:36; \ - align: 0 0.5; \ + align: 1.0 0.5; \ } \ color: 0 0 0 255; \ } \ @@ -318,29 +318,47 @@ styles{ scale: 1; \ description { \ state: "default" 0.0; \ - align: 0 0.5; \ + align: 1.0 0.5; \ rel1 { \ - relative: 190/240 45/137; \ + relative: 15/240 0.5; \ to: part_name"_bg"; \ } \ rel2 { \ - relative: 240/240 85/137; \ + relative: 0.93 0.7; \ to: part_name"_bg"; \ } \ text { \ font:"Tizen:style=Regular"; \ size:24; \ - align: 0 0; \ + align: 1.0 0; \ } \ color: 77 77 77 255; \ - } \ + } \ + description { \ + state: "landscape"; \ + align: 1.0 0.5; \ + rel1 { \ + relative: 23/240 0.5; \ + to: part_name"_bg"; \ + } \ + rel2 { \ + relative: 220/240 0.7; \ + to: part_name"_bg"; \ + } \ + text { \ + font:"Tizen:style=Regular"; \ + size: 24; \ + align: 1.0 0; \ + } \ + color: 77 77 77 255; \ + } \ description { \ state: "press" 0.0; \ inherit: "default" 0.0; \ text { \ font:"Tizen:style=Regular"; \ size:24; \ - align: 0 0; \ + align: 1.0 0; \ } \ color: 21 108 148 255; \ } \ @@ -370,11 +388,11 @@ styles{ fixed: 1 1; \ align: 0.5 0.5; \ rel1 { \ - relative: 0.03 0.2; \ + relative: CATEGORY_ITEM_ICON_REL1; \ to: part_name"_bg"; \ } \ rel2 { \ - relative: 0.1 0.6; \ + relative: CATEGORY_ITEM_ICON_REL2; \ to: part_name"_bg"; \ } \ image { normal: image_path; } \ @@ -393,7 +411,7 @@ styles{ state: "default" 0.0; \ align: 0.0 0.0; \ rel1 { \ - relative: 35/240 0; \ + relative: 15/240 0; \ to: part_name"_bg"; \ } \ rel2 { \ @@ -420,12 +438,12 @@ styles{ state: "default" 0.0; \ align: 0 0.0; \ rel1 { \ - relative: 200/240 0.2; \ + relative: 15/240 1.0; \ to_x: part_name"_bg"; \ to_y:part_name"_title"; \ } \ rel2 { \ - relative: 240/240 1; \ + relative: 163/240 1; \ to: part_name"_bg"; \ } \ text { \ @@ -483,12 +501,12 @@ styles{ fixed: 1 1; \ rel1 { \ relative: 1.0 0.0; \ - offset: -1 13; \ + offset: -1 0; \ to: left; \ } \ rel2 { \ relative: 0.0 1.0; \ - offset: 1 -13; \ + offset: 1 0; \ to: right; \ } \ color: 41 73 72 178.5; \ @@ -532,6 +550,7 @@ styles{ action: STATE_SET "landscape" 0.0; \ target: part_name"_image"; \ target: part_name"_title"; \ + target: part_name"_size"; \ } \ program { \ name: part_name"_port"; \ @@ -611,7 +630,7 @@ collections { name: "category_frame"; parts { part { - name: "category_rect"; + name: "bg"; type: RECT; mouse_events: 0; repeat_events: 1; @@ -619,41 +638,6 @@ collections { description { state: "default" 0.0; rel1 { relative: 0.0 0.0; } - rel2 { relative: 1.0 0.12; } - color: 255 255 255 255; - } - } - part { - name: "category_text"; - type: SWALLOW; - mouse_events: 0; - repeat_events: 1; - scale: 1; - description { - state: "default" 0.0; - rel1 { relative: 0.0 0.5; to:"category_rect";} - rel2 { relative: 0.3 0.1; to:"category_rect";} - } - description { - state: "portrait" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { - state: "landscape" 0.0; - rel1 { relative: 0.0 0.5; to:"category_rect";} - rel2 { relative: 0.2 0.1; to:"category_rect";} - } - } - part { - name: "bg"; - type: RECT; - mouse_events: 0; - repeat_events: 1; - scale: 1; - description { - state: "default" 0.0; - rel1 { relative: 0.0 0.12; } rel2 { relative: 1.0 1.0; } color: 255 255 255 255; } @@ -674,7 +658,7 @@ collections { to: "bg"; } rel2{ - relative: 1.0 1/5; + relative: 1/2 1/3; //offset: -(CATEGORY_ITEM_DIVIDER_W/2) 0; to: "bg"; } @@ -694,7 +678,7 @@ collections { to: "bg"; } rel2 { - relative: 1.0 1/5; + relative: 1/3 1/2; //offset: -(CATEGORY_ITEM_DIVIDER_W/2) 0; to: "bg"; } @@ -715,12 +699,12 @@ collections { state: "default" 0.0; visible: 0; rel1{ - relative: 0.0 1/5; + relative: 1/2 0.0; //offset: (CATEGORY_ITEM_DIVIDER_W/2) 0; to: "bg"; } rel2{ - relative: 1.0 2/5; + relative: 1.0 1/3; to: "bg"; } align: 0.5 0.5; @@ -735,12 +719,12 @@ collections { state: "landscape" 0.0; color: CATEGORY_COLOR_3; rel1 { - relative: 0.0 1/5; + relative: 1/3 0.0; //offset: (CATEGORY_ITEM_DIVIDER_W/2) 0; to: "bg"; } rel2 { - relative: 1.0 2/5; + relative: 2/3 1/2; //offset: -(CATEGORY_ITEM_DIVIDER_W/2) 0; to: "bg"; } @@ -749,7 +733,7 @@ collections { } /* there is a divider between `all files' category and `image' category. */ - DIVIDER_PART("divider_image_video", "2", "3"); + DIVIDER_PART("divider_all_image", "1", "2"); /* define the video category */ part { name: "3"; @@ -761,11 +745,11 @@ collections { state: "default" 0.0; visible: 0; rel1 { - relative: 0.0 2/5; + relative: 0.0 1/3; to: "bg"; } rel2 { - relative: 1.0 3/5; + relative: 1/2 2/3; //offset: -(CATEGORY_ITEM_DIVIDER_W/2) 0; to: "bg"; } @@ -781,12 +765,12 @@ collections { state: "landscape" 0.0; align: 0.5 0.5; rel1 { - relative: 0.0 2/5; + relative: 2/3 0.0; offset: -1 0; to: "bg"; } rel2 { - relative: 1.0 3/5; + relative: 1.0 1/2; to: "bg"; } color: CATEGORY_COLOR_3; @@ -795,7 +779,7 @@ collections { /* there is a divider between `category_image' and `category_video' only in landscape mode. */ - DIVIDER_PART("divider_video_audio", "3", "4"); + DIVIDER_PART("divider_image_video", "2", "3"); /* define the audio category */ part { @@ -808,12 +792,12 @@ collections { state: "default" 0.0; visible: 0; rel1 { - relative: 0.0 3/5; + relative: 1/2 1/3; //offset: (CATEGORY_ITEM_DIVIDER_W/2) 0; to: "bg"; } rel2 { - relative: 1.0 4/5; + relative: 1.0 2/3; to: "bg"; } align: 0.5 0.5; @@ -829,11 +813,11 @@ collections { align: 0.5 0.5; color: CATEGORY_COLOR_4; rel1 { - relative: 0.0 3/5; + relative: 0.0 1/2; to: "bg"; } rel2 { - relative: 1.0 4/5; + relative: 1/3 1.0; offset: -(CATEGORY_ITEM_DIVIDER_W/2) 0; to: "bg"; } @@ -842,7 +826,7 @@ collections { /* there is a divider between `category_video' and `category_sound' only in portrait mode */ - DIVIDER_PART("divider_audio_document", "4", "5"); + DIVIDER_PART("divider_video_audio", "3", "4"); /* define the document category */ part { @@ -855,11 +839,11 @@ collections { state: "default" 0.0; visible: 0; rel1 { - relative: 0.0 4/5; + relative: 0.0 2/3; to: "bg"; } rel2 { - relative: 1.0 1.0; + relative: 1/2 1.0; //offset: -(CATEGORY_ITEM_DIVIDER_W/2) 0; to: "bg"; } @@ -876,12 +860,12 @@ collections { align: 0.5 0.5; color: CATEGORY_COLOR_4; rel1 { - relative: 0.0 4/5; + relative: 1/3 1/2; //offset: (CATEGORY_ITEM_DIVIDER_W/2) 0; to: "bg"; } rel2 { - relative: 1.0 1.0; + relative: 2/3 1.0; //offset: -(CATEGORY_ITEM_DIVIDER_W/2) 0; to: "bg"; } @@ -890,7 +874,7 @@ collections { /* there is a divider between `category_sound' and `category_document' only in landscape mode */ - // DIVIDER_PART("divider_document_download", "5", "6"); + DIVIDER_PART("divider_audio_document", "4", "5"); /* define the `recent files' category */ part { @@ -903,7 +887,7 @@ collections { state: "default" 0.0; visible: 0; rel1 { - relative: 0.0 5/6; + relative: 1/2 2/3; //offset: (CATEGORY_ITEM_DIVIDER_W/2) 0; to: "bg"; } @@ -924,7 +908,7 @@ collections { align: 0.5 0.5; color: CATEGORY_COLOR_4; rel1 { - relative: 0.0 5/6; + relative: 2/3 1/2; offset: -1 0; to: "bg"; } @@ -934,6 +918,9 @@ collections { } } } + /* there is a divider between `category_document' + and `category_recent_files' */ + DIVIDER_PART("divider_doc_recent", "5", "6"); } /*end parts*/ @@ -948,10 +935,9 @@ collections { set_state(PART:"3", "landscape", 0.0); set_state(PART:"4", "landscape", 0.0); set_state(PART:"5", "landscape", 0.0); - set_state(PART:"category_text", "landscape", 0.0); - set_state(PART:"divider_recent_image", "shown", 0.0); + set_state(PART:"6", "landscape", 0.0); set_state(PART:"divider_image_video", "shown", 0.0); - set_state(PART:"divider_video_audio", "shown", 0.0); + set_state(PART:"divider_video_audio", "hidden", 0.0); set_state(PART:"divider_audio_document", "shown", 0.0); } } @@ -965,22 +951,34 @@ collections { set_state(PART:"3", "portrait", 0.0); set_state(PART:"4", "portrait", 0.0); set_state(PART:"5", "portrait", 0.0); - set_state(PART:"category_text", "portrait", 0.0); - set_state(PART:"divider_recent_image", "shown", 0.0); - set_state(PART:"divider_image_video", "shown", 0.0); + set_state(PART:"6", "portrait", 0.0); + set_state(PART:"divider_image_video", "hidden", 0.0); set_state(PART:"divider_video_audio", "shown", 0.0); - set_state(PART:"divider_audio_document", "shown", 0.0); + set_state(PART:"divider_audio_document", "hidden", 0.0); } } } }/*end group : frame*/ -group { + group { name: "group_category_text"; parts { GENERAL_CATEGORY_TOP("category_text"); - } + } } + + group { + name: "group_category_download_app"; + parts { + GENERAL_CATEGORY_ITEM_BG_PART("category_download_app", CATEGORY_COLOR_5, CATEGORY_COLOR_4); + GENERAL_CATEGORY_ITEM_PART("category_download_app", + "U01_category_icon_all.png", + "U01_category_icon_all_h.png"); + } + programs { + GENERAL_CATEGORY_ITEM_PROGRAMS("category_download_app"); + } + } /*end group : group_category_download_app*/ group { name: "group_category_image"; parts { @@ -1044,7 +1042,7 @@ group { programs { GENERAL_CATEGORY_ITEM_PROGRAMS("category_recent"); } - } /*end group : group_category_image*/ + } /*end group : group_category_recent*/ }//End collection //end file diff --git a/src/widget/mf-tray-item.c b/src/widget/mf-tray-item.c index 0f1f384..4c598f5 100755 --- a/src/widget/mf-tray-item.c +++ b/src/widget/mf-tray-item.c @@ -52,6 +52,7 @@ typedef struct __mf_category_layout { Evas_Object *category_document; Evas_Object *category_all; Evas_Object *category_recent; + Evas_Object *category_download_app; Evas_Object *category_image_title; Evas_Object *category_text_title; @@ -60,6 +61,7 @@ typedef struct __mf_category_layout { Evas_Object *category_document_title; Evas_Object *category_all_title; Evas_Object *category_recent_title; + Evas_Object *category_download_app_title; Evas_Object *category_image_storage_size; Evas_Object *category_video_storage_size; @@ -67,6 +69,7 @@ typedef struct __mf_category_layout { Evas_Object *category_document_storage_size; Evas_Object *category_all_size; Evas_Object *category_recent_size; + Evas_Object *category_download_app_size; Ecore_Idler *category_idle; } mf_category_layout; @@ -261,6 +264,9 @@ void mf_category_refresh(void *data) void mf_category_item_title_refresh(Evas_Object *parent) { MF_TRACE_BEGIN; + if (g_mf_category_layout.category_download_app) { + elm_object_part_text_set((g_mf_category_layout.category_download_app),"category_download_app_title",mf_util_get_text(MF_LABEL_DOWNLOADED_APP_ENTER)); + } if (g_mf_category_layout.category_image) { elm_object_part_text_set((g_mf_category_layout.category_image), "category_image_title", mf_util_get_text(MF_LABEL_IMAGES)); } @@ -305,6 +311,9 @@ void mf_category_storage_size_reset(mf_tray_item_category category) //fix P1311 if (g_mf_category_layout.category_document) { elm_object_part_text_set((g_mf_category_layout.category_document), "category_document_size", ""); } + if (g_mf_category_layout.category_download_app) { + elm_object_part_text_set((g_mf_category_layout.category_download_app),"category_download_app_size", ""); + } if (g_mf_category_layout.category_recent) { elm_object_part_text_set((g_mf_category_layout.category_recent), "category_recent_size", ""); } @@ -326,6 +335,10 @@ void mf_category_storage_size_reset(mf_tray_item_category category) //fix P1311 elm_object_part_text_set((g_mf_category_layout.category_document), "category_document_size", ""); break; } + case mf_tray_item_category_download_app:{ + elm_object_part_text_set((g_mf_category_layout.category_download_app),"category_download_app_size", ""); + break; + } case mf_tray_item_category_recent: { elm_object_part_text_set((g_mf_category_layout.category_recent), "category_recent_size", ""); break; @@ -369,6 +382,13 @@ void mf_category_storage_size_refresh(mf_tray_item_category category, Update_Inf SAFE_FREE_CHAR(size); } } + if (g_mf_category_layout.category_download_app) { + if (storage_status->download_app_size_info.total_size >= 0.0) { + char* size = mf_launch_item_size_calculate((double)storage_status->download_app_size_info.total_size); + elm_object_part_text_set((g_mf_category_layout.category_download_app),"category_download_app_size", size); + SAFE_FREE_CHAR(size); + } + } if (g_mf_category_layout.category_recent) { if (storage_status->recent_size_info.total_size >= 0.0) { char *size = mf_launch_item_size_calculate((double)storage_status->recent_size_info.total_size); @@ -410,6 +430,14 @@ void mf_category_storage_size_refresh(mf_tray_item_category category, Update_Inf } break; } + case mf_tray_item_category_download_app:{ + if (update_info) { + char* size = mf_launch_item_size_calculate((double)update_info->total_size); + elm_object_part_text_set((g_mf_category_layout.category_download_app),"category_download_app_size", size); + SAFE_FREE_CHAR(size); + } + break; + } case mf_tray_item_category_recent: { if (update_info) { char *size = mf_launch_item_size_calculate((double)update_info->total_size); @@ -538,6 +566,8 @@ Evas_Object *mf_category_widgets_create(void *data, Evas_Object *parent) mf_retvm_if(g_mf_category_layout.category_sound == NULL, NULL, "category_sound is NULL"); g_mf_category_layout.category_document = mf_object_create_layout(parent, edj_path, "group_category_document"); mf_retvm_if(g_mf_category_layout.category_document == NULL, NULL, "category_document is NULL"); + g_mf_category_layout.category_download_app = mf_object_create_layout(parent, edj_path, "group_category_download_app"); + mf_retvm_if(g_mf_category_layout.category_download_app == NULL, NULL, "category_download_app is NULL"); evas_object_repeat_events_set(g_mf_category_layout.category_text, EINA_TRUE); @@ -546,6 +576,7 @@ Evas_Object *mf_category_widgets_create(void *data, Evas_Object *parent) evas_object_repeat_events_set(g_mf_category_layout.category_video, EINA_TRUE); evas_object_repeat_events_set(g_mf_category_layout.category_sound, EINA_TRUE); evas_object_repeat_events_set(g_mf_category_layout.category_document, EINA_TRUE); + evas_object_repeat_events_set(g_mf_category_layout.category_download_app, EINA_TRUE); elm_object_part_content_set(g_mf_category_layout.category_frame, "category_text", g_mf_category_layout.category_text); evas_object_show(g_mf_category_layout.category_text); @@ -559,6 +590,8 @@ Evas_Object *mf_category_widgets_create(void *data, Evas_Object *parent) evas_object_show(g_mf_category_layout.category_sound); elm_object_part_content_set(g_mf_category_layout.category_frame, "5", g_mf_category_layout.category_document); evas_object_show(g_mf_category_layout.category_document); + elm_object_part_content_set(g_mf_category_layout.category_frame, "6", g_mf_category_layout.category_download_app); + evas_object_show(g_mf_category_layout.category_download_app); _mf_category_item_set_focus(data, g_mf_category_layout.category_frame); @@ -636,6 +669,8 @@ static void __mf_category_recent_item_clicked(void *data, Evas_Object *o, const void __mf_category_item_add_click_callback(void *data) { MF_TRACE_BEGIN; + edje_object_signal_callback_add(_EDJ(g_mf_category_layout.category_download_app), + "category_download_app,clicked", "background_signal", NULL, NULL); edje_object_signal_callback_add(_EDJ(g_mf_category_layout.category_image), "category_image,clicked", "background_signal", __mf_category_item_clicked, (void *)mf_tray_item_category_image); edje_object_signal_callback_add(_EDJ(g_mf_category_layout.category_video), @@ -659,6 +694,8 @@ void __mf_category_item_del_click_callback(void *data) "category_sound,clicked", "background_signal", __mf_category_item_clicked); edje_object_signal_callback_del(_EDJ(g_mf_category_layout.category_document), "category_document,clicked", "background_signal", __mf_category_item_clicked); + edje_object_signal_callback_del(_EDJ(g_mf_category_layout.category_download_app), + "category_download_app,clicked", "background_signal", NULL); edje_object_signal_callback_del(_EDJ(g_mf_category_layout.category_recent), "category_recent,clicked", "background_signal", __mf_category_recent_item_clicked); } @@ -666,6 +703,8 @@ void __mf_category_item_del_click_callback(void *data) void __mf_category_item_add_release_callback(void *data) { MF_TRACE_BEGIN; + edje_object_signal_callback_add(_EDJ(g_mf_category_layout.category_download_app), + "category_download_app,released", "released_signal", __mf_category_item_released, NULL); edje_object_signal_callback_add(_EDJ(g_mf_category_layout.category_image), "category_image,released", "released_signal", __mf_category_item_released, NULL); edje_object_signal_callback_add(_EDJ(g_mf_category_layout.category_video), @@ -689,6 +728,8 @@ void __mf_category_item_del_release_callback(void *data) "category_sound,released", "released_signal", __mf_category_item_released); edje_object_signal_callback_del(_EDJ(g_mf_category_layout.category_document), "category_document,released", "released_signal", __mf_category_item_released); + edje_object_signal_callback_del(_EDJ(g_mf_category_layout.category_download_app), + "category_download_app,released", "released_signal", __mf_category_item_released); edje_object_signal_callback_del(_EDJ(g_mf_category_layout.category_recent), "category_recent,released", "released_signal", __mf_category_item_released); } @@ -702,6 +743,7 @@ void __mf_category_item_mode_landscape(void) edje_object_signal_emit(_EDJ(g_mf_category_layout.category_sound), "landscape", "category_sound"); edje_object_signal_emit(_EDJ(g_mf_category_layout.category_document), "landscape", "category_document"); edje_object_signal_emit(_EDJ(g_mf_category_layout.category_text), "landscape", "category_text"); + edje_object_signal_emit(_EDJ(g_mf_category_layout.category_download_app), "landscape", "category_download_app"); } void __mf_category_item_mode_portrait(void) @@ -712,6 +754,7 @@ void __mf_category_item_mode_portrait(void) edje_object_signal_emit(_EDJ(g_mf_category_layout.category_sound), "portrait", "category_sound"); edje_object_signal_emit(_EDJ(g_mf_category_layout.category_document), "portrait", "category_document"); edje_object_signal_emit(_EDJ(g_mf_category_layout.category_text), "portrait", "category_text"); + edje_object_signal_emit(_EDJ(g_mf_category_layout.category_download_app), "portrait", "category_download_app"); } Evas_Object *mf_category_create(void *data) -- 2.7.4