projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdb0df2
)
And adjust size hint when setting icon too. (Same problem as previous commit
author
Christopher Michael
<cpmichael1@comcast.net>
Wed, 10 Feb 2010 02:41:39 +0000
(
02:41
+0000)
committer
Christopher Michael
<cpmichael1@comcast.net>
Wed, 10 Feb 2010 02:41:39 +0000
(
02:41
+0000)
wrt text).
SVN revision: 46033
src/bin/e_widget_button.c
patch
|
blob
|
history
diff --git
a/src/bin/e_widget_button.c
b/src/bin/e_widget_button.c
index b1960778a34f139a547bacfbf66eda7af562a6d7..dc11e1bf922c9ef112b4c38458db0ac6e51a3236 100644
(file)
--- a/
src/bin/e_widget_button.c
+++ b/
src/bin/e_widget_button.c
@@
-107,6
+107,7
@@
EAPI void
e_widget_button_icon_set(Evas_Object *obj, Evas_Object *icon)
{
E_Widget_Data *wd;
+ int mw, mh;
wd = e_widget_data_get(obj);
if (wd->o_icon)
@@
-129,6
+130,8
@@
e_widget_button_icon_set(Evas_Object *obj, Evas_Object *icon)
else
wd->type = ~(wd->type & E_WIDGET_BUTTON_ICON);
_e_wid_button_state_send(wd);
+ edje_object_size_min_calc(wd->o_button, &mw, &mh);
+ e_widget_size_min_set(obj, mw, mh);
}
static void