[elm] Better logic for elm bubble's text set call.

SVN revision: 71516
This commit is contained in:
Gustavo Lima Chaves 2012-05-29 21:02:01 +00:00
parent 134606eb2b
commit ae78dd96c9
1 changed files with 2 additions and 2 deletions

View File

@ -142,8 +142,6 @@ _elm_bubble_smart_text_set(Evas_Object *obj,
const char *item,
const char *label)
{
if (!_elm_bubble_parent_sc->text_set(obj, item, label)) return EINA_FALSE;
if (item && (!strcmp(item, "info") || !strcmp(item, "elm.info")))
{
if (label)
@ -151,6 +149,8 @@ _elm_bubble_smart_text_set(Evas_Object *obj,
else
elm_layout_signal_emit(obj, "elm,state,info,hidden", "elm");
}
else if (!_elm_bubble_parent_sc->text_set(obj, item, label))
return EINA_FALSE;
elm_layout_sizing_eval(obj);