forked from enlightenment/efl
[elm] Better logic for elm bubble's text set call.
SVN revision: 71516
This commit is contained in:
parent
134606eb2b
commit
ae78dd96c9
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue