e button widget: same bad logic when removing text. See r81045.

Sorry, didn’t check before committing!


SVN revision: 81046
This commit is contained in:
Chidambar Zinnoury 2012-12-16 16:36:55 +00:00
parent 9bb7ab62de
commit ee1209aceb
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ e_widget_button_label_set(Evas_Object *obj, const char *label)
if ((label) && (label[0] != 0))
wd->type |= E_WIDGET_BUTTON_TEXT;
else
wd->type = ~(wd->type & E_WIDGET_BUTTON_TEXT);
wd->type &= ~E_WIDGET_BUTTON_TEXT;
_e_wid_button_state_send(wd);
edje_object_size_min_calc(wd->o_button, &mw, &mh);
e_widget_size_min_set(obj, mw, mh);