Change genlist item class style: 1line -> multiline 14/234014/1
authorYunjin Lee <yunjin-.lee@samsung.com>
Thu, 21 May 2020 05:50:23 +0000 (14:50 +0900)
committerYunjin Lee <yunjin-.lee@samsung.com>
Thu, 21 May 2020 05:53:26 +0000 (14:53 +0900)
- Since multiline style is available for IoT profile now, update genlist
item class style accordingly.

Change-Id: I356c6a9692b0f9ce7e297903a213368ae38e9d11
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
ui/src/privacy_package_list_view.c

index cffb2d8..18f8155 100644 (file)
@@ -88,7 +88,7 @@ static char* gl_text_get_cb(void *data, Evas_Object *obj, const char *part)
 static char* gl_menu_desc_text_get_cb(void *data, Evas_Object *obj, const char *part)
 {
        const char* menu_description_string = dgettext("privacy-setting", "IDS_ST_BODY_THE_SELECTED_APPS_SHOWN_BELOW_HAVE_ACCESS_TO_THIS_SERVICE");
-       if (!strcmp(part, "elm.text"))
+       if (!strcmp(part, "elm.text.multiline"))
                return strdup(menu_description_string);
 
        return NULL;
@@ -476,7 +476,7 @@ void create_privacy_package_list_view(struct app_data_s* ad)
                itc->func.text_get = gl_text_get_cb;
                itc->func.del = gl_del_cb;
 
-               mtc->item_style = "1line";
+               mtc->item_style = "multiline";
                mtc->func.text_get = gl_menu_desc_text_get_cb;
                mtc->func.del = gl_menu_desc_del_cb;