From: Enlightenment S. <no-...@en...> - 2012-03-07 15:09:20
|
Log: scale -> resizable Author: discomfitor Date: 2012-03-07 07:09:09 -0800 (Wed, 07 Mar 2012) New Revision: 68969 Trac: http://trac.enlightenment.org/e/changeset/68969 Modified: trunk/elementary/src/bin/test_gengrid.c trunk/elementary/src/bin/test_icon.c Modified: trunk/elementary/src/bin/test_gengrid.c =================================================================== --- trunk/elementary/src/bin/test_gengrid.c 2012-03-07 15:09:05 UTC (rev 68968) +++ trunk/elementary/src/bin/test_gengrid.c 2012-03-07 15:09:09 UTC (rev 68969) @@ -155,7 +155,7 @@ char buf[PATH_MAX]; snprintf(buf, sizeof(buf), "%s/images/logo.png", elm_app_data_dir_get()); elm_icon_file_set(ic, buf, NULL); - elm_icon_scale_set(ic, 0, 0); + elm_icon_resizable_set(ic, 0, 0); return ic; } Modified: trunk/elementary/src/bin/test_icon.c =================================================================== --- trunk/elementary/src/bin/test_icon.c 2012-03-07 15:09:05 UTC (rev 68968) +++ trunk/elementary/src/bin/test_icon.c 2012-03-07 15:09:09 UTC (rev 68969) @@ -42,7 +42,7 @@ evas_object_size_hint_weight_set(ic, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); evas_object_size_hint_align_set(ic, EVAS_HINT_FILL, EVAS_HINT_FILL); - elm_icon_scale_set(ic, EINA_TRUE, EINA_TRUE); + elm_icon_resizable_set(ic, EINA_TRUE, EINA_TRUE); elm_icon_aspect_fixed_set(ic, EINA_FALSE); elm_icon_preload_set(ic, EINA_TRUE); elm_icon_prescale_set(ic, EINA_TRUE); @@ -77,7 +77,7 @@ char buf[PATH_MAX]; snprintf(buf, sizeof(buf), "%s/images/logo.png", elm_app_data_dir_get()); elm_icon_file_set(ic, buf, NULL); - elm_icon_scale_set(ic, EINA_TRUE, EINA_TRUE); + elm_icon_resizable_set(ic, EINA_TRUE, EINA_TRUE); evas_object_size_hint_weight_set(ic, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); evas_object_size_hint_align_set(ic, EVAS_HINT_FILL, EVAS_HINT_FILL); |