From: Soonmin Jung Date: Mon, 21 Jan 2013 11:40:37 +0000 (+0900) Subject: Change elm_scale_get to elm_config_scale_get of composer X-Git-Tag: 2.1b_release~2^2~22^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0cea773b6acbb2dcd93c36d69451c0be9ebd6372;p=apps%2Fcore%2Fpreloaded%2Fmessage-app.git Change elm_scale_get to elm_config_scale_get of composer Change-Id: I5eb84821e64ea3451b8b6baf2aad10bd4f289f69 --- diff --git a/composer/src/ui-composer/msg-ui-composer-body-callback.c b/composer/src/ui-composer/msg-ui-composer-body-callback.c index f95c0f5..1c9f78d 100755 --- a/composer/src/ui-composer/msg-ui-composer-body-callback.c +++ b/composer/src/ui-composer/msg-ui-composer-body-callback.c @@ -160,7 +160,7 @@ static void __add_list_popup_show(void *data) count = 4; int popup_height = MSGC_POPUP_LIST_H * count + list_padding; - evas_object_size_hint_max_set(list, -1, popup_height * elm_scale_get()); + evas_object_size_hint_max_set(list, -1, popup_height * elm_config_scale_get()); } popup = msg_ui_composer_list_popup_create(cd, _SYSSTR("IDS_COM_POP_ATTACH"), list, "min_menustyle"); diff --git a/composer/src/ui-composer/msg-ui-composer-recipient.c b/composer/src/ui-composer/msg-ui-composer-recipient.c index 285f3b3..264c256 100755 --- a/composer/src/ui-composer/msg-ui-composer-recipient.c +++ b/composer/src/ui-composer/msg-ui-composer-recipient.c @@ -178,7 +178,7 @@ void msg_ui_composer_recipient_create_change_number_popup(void *data) count = 4; Evas_Object *box = elm_box_add(cd->main_window); - evas_object_size_hint_min_set(box, 0, MSGC_POPUP_GENLIST_H * count * elm_scale_get()); + evas_object_size_hint_min_set(box, 0, MSGC_POPUP_GENLIST_H * count * elm_config_scale_get()); evas_object_show(genlist); elm_box_pack_end(box, genlist); popup = msg_ui_composer_list_popup_create(cd, _SYSSTR("IDS_COM_SK_SELECT"), box, "min_menustyle");