[elm] Dangling elm_icon_resizable_set() calls, be gone.

SVN revision: 71763
This commit is contained in:
Gustavo Lima Chaves 2012-06-06 18:05:22 +00:00
parent 85dd700d44
commit 528457fb98
9 changed files with 12 additions and 12 deletions

View File

@ -8,17 +8,17 @@ Evas_Object *ctxpopup = elm_ctxpopup_add(o);
Evas_Object *ic = elm_icon_add(ctxpopup);
elm_icon_standard_set(ic, "home");
elm_icon_resizable_set(ic, EINA_FALSE, EINA_FALSE);
elm_image_resizable_set(ic, EINA_FALSE, EINA_FALSE);
elm_ctxpopup_item_append(ctxpopup, "Go to home folder", ic, NULL, NULL);
ic = elm_icon_add(ctxpopup);
elm_icon_standard_set(ic, "delete");
elm_icon_resizable_set(ic, EINA_FALSE, EINA_FALSE);
elm_image_resizable_set(ic, EINA_FALSE, EINA_FALSE);
elm_ctxpopup_item_append(ctxpopup, "Delete file", ic, NULL, NULL);
ic = elm_icon_add(ctxpopup);
elm_icon_standard_set(ic, "folder");
elm_icon_resizable_set(ic, EINA_FALSE, EINA_FALSE);
elm_image_resizable_set(ic, EINA_FALSE, EINA_FALSE);
Elm_Object_Item *it = elm_ctxpopup_item_append(ctxpopup, "Navigate to folder", ic, NULL, NULL);
elm_object_item_disabled_set(it, EINA_TRUE);

View File

@ -5,7 +5,7 @@ evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
elm_win_resize_object_add(win, o);
elm_icon_standard_set(o, "home");
elm_icon_resizable_set(o, EINA_FALSE, EINA_FALSE);
elm_image_resizable_set(o, EINA_FALSE, EINA_FALSE);
evas_object_show(o);
#include "widget_preview_tmpl_foot.c"

View File

@ -17,7 +17,7 @@ for (i = 0; i < 8; i++)
{
Evas_Object *ic = elm_icon_add(win);
elm_icon_standard_set(ic, "home");
elm_icon_resizable_set(ic, EINA_FALSE, EINA_FALSE);
elm_image_resizable_set(ic, EINA_FALSE, EINA_FALSE);
evas_object_show(ic);
elm_table_pack(tb, ic, i, j, 1, 1);
}

View File

@ -13,7 +13,7 @@ Elm_Object_Item *item_new(Evas_Object *ctxpopup, const char * label, const char
{
Evas_Object *ic = elm_icon_add(ctxpopup);
elm_icon_standard_set(ic, icon);
elm_icon_resizable_set(ic, EINA_FALSE, EINA_FALSE);
elm_image_resizable_set(ic, EINA_FALSE, EINA_FALSE);
return elm_ctxpopup_item_append(ctxpopup, label, ic, _ctxpopup_item_cb, NULL);
}

View File

@ -32,7 +32,7 @@ elm_main(int argc, char **argv)
printf("path = %s, group = %s, name = %s\n", path, group, name);
elm_icon_no_scale_set(icon, EINA_TRUE);
elm_icon_resizable_set(icon, EINA_FALSE, EINA_TRUE);
elm_image_resizable_set(icon, EINA_FALSE, EINA_TRUE);
elm_icon_smooth_set(icon, EINA_FALSE);
elm_icon_fill_outside_set(icon, EINA_TRUE);

View File

@ -57,7 +57,7 @@ _add_ic_cb(void *data, Evas_Object *obj, void *event_info)
snprintf(label, sizeof(label), "Item %i", counter++);
ic = elm_icon_add(li);
elm_icon_standard_set(ic, "home");
elm_icon_resizable_set(ic, EINA_FALSE, EINA_FALSE);
elm_image_resizable_set(ic, EINA_FALSE, EINA_FALSE);
list_it = elm_list_item_append(li, label, ic, NULL, NULL, NULL);
if (!list_it)

View File

@ -76,7 +76,7 @@ elm_main(int argc, char **argv)
{
ic = elm_icon_add(win);
elm_icon_standard_set(ic, "home");
elm_icon_resizable_set(ic, EINA_FALSE, EINA_FALSE);
elm_image_resizable_set(ic, EINA_FALSE, EINA_FALSE);
evas_object_show(ic);
elm_table_pack(tb, ic, i, j, 1, 1);
}

View File

@ -79,12 +79,12 @@ elm_main(int argc, char **argv)
ic = elm_icon_add(win);
elm_icon_standard_set(ic, "home");
elm_icon_resizable_set(ic, EINA_FALSE, EINA_FALSE);
elm_image_resizable_set(ic, EINA_FALSE, EINA_FALSE);
elm_object_part_content_set(sl, "icon", ic);
ic = elm_icon_add(win);
elm_icon_standard_set(ic, "folder");
elm_icon_resizable_set(ic, EINA_FALSE, EINA_FALSE);
elm_image_resizable_set(ic, EINA_FALSE, EINA_FALSE);
elm_object_part_content_set(sl, "end", ic);
evas_object_size_hint_align_set(sl, EVAS_HINT_FILL, 0.5);

View File

@ -213,7 +213,7 @@ elm_main(int argc, char *argv[])
o = elm_icon_add(win2);
sprintf(buf, "%s/images/logo.png", elm_app_data_dir_get());
elm_icon_file_set(o, buf, NULL);
elm_icon_resizable_set(o, 0, 0);
elm_image_resizable_set(o, 0, 0);
elm_icon_no_scale_set(o, EINA_TRUE);
elm_win_resize_object_add(win2, o);
evas_object_show(o);