aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/e_widget_image.c
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2006-01-13 02:11:11 +0000
committerCarsten Haitzler <raster@rasterman.com>2006-01-13 02:11:11 +0000
commit2cc0fa56bc4b44aa2a9c3f34ac9c622b433c064a (patch)
tree92c9e059b036f0832e63b20ea49a0ceda4cb6265 /src/bin/e_widget_image.c
parentsome minor fixes to bg cf dialog. a FIXMe there tho. i think we can avoid the (diff)
downloadenlightenment-2cc0fa56bc4b44aa2a9c3f34ac9c622b433c064a.tar.gz
no mroe leak - and simply bad changes to smart objects. BAD BAD.
SVN revision: 19751
Diffstat (limited to 'src/bin/e_widget_image.c')
-rw-r--r--src/bin/e_widget_image.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bin/e_widget_image.c b/src/bin/e_widget_image.c
index a2fa4b774..848c00213 100644
--- a/src/bin/e_widget_image.c
+++ b/src/bin/e_widget_image.c
@@ -23,7 +23,8 @@ e_widget_image_add_from_object(Evas *evas, Evas_Object *object, int minw, int mi
evas_object_show(object);
o = e_icon_add(evas);
- e_icon_object_set(o, object);
+ e_icon_fill_inside_set(o, 1);
+ e_icon_object_set(o, object);
wd->img = o;
e_widget_data_set(obj, wd);
e_widget_can_focus_set(obj, 0);
@@ -44,6 +45,7 @@ e_widget_image_add_from_file(Evas *evas, char *file, int minw, int minh)
wd = calloc(1, sizeof(E_Widget_Data));
o = e_icon_add(evas);
+ e_icon_fill_inside_set(o, 1);
o2 = evas_object_image_add(evas);
evas_object_image_file_set(o2, file, NULL);
e_icon_object_set(o, o2);