Change elm_scale_get to elm_config_scale_get of composer
authorSoonmin Jung <sm0415.jung@samsung.com>
Mon, 21 Jan 2013 11:37:01 +0000 (20:37 +0900)
committerSoonmin Jung <sm0415.jung@samsung.com>
Mon, 21 Jan 2013 11:37:34 +0000 (20:37 +0900)
Change-Id: I8c0931be2ecf0be4e6e1785960f52facd949b202

composer/src/ui-composer/msg-ui-composer-body-callback.c
composer/src/ui-composer/msg-ui-composer-recipient.c

index f95c0f5..1c9f78d 100755 (executable)
@@ -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");
index 254ebca..08e2d36 100755 (executable)
@@ -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");