From: Kim Shinwoo <kimcinoo.efl@gmail.com>

Subject: [E-devel] [patch][elementary] bubble - text set does not
display info text part

current bubble dose not display 'info' which is TEXT part.
i have learned that the following commit would be reverted.
http://trac.enlightenment.org/e/changeset/71516/trunk/elementary/src/lib/elm_bubble.c
or remove 'else' from 'else if' on current
_elm_bubble_smart_text_set();.

anyhow i made a diff and attached. please find it and give feedback.
thanks.



SVN revision: 76669
This commit is contained in:
Kim Shinwoo 2012-09-14 13:30:18 +00:00 committed by Carsten Haitzler
parent 2e8cbfe9b4
commit 93c0a03c68
3 changed files with 7 additions and 2 deletions

View File

@ -509,4 +509,7 @@
- elm_win_floating_mode_set
- elm_win_floating_mode_get
2012-09-14 Shinwoo Kim (kimcinoo)
* Fix info field set for bubble widget.

View File

@ -27,6 +27,7 @@ Fixes:
* Fix popup to apply the same style to the notify sub-widget.
* Fix Ctxpopup direction if unknown priority used.
* Fix diskselector when bounce off and round enabled.
* Fix bubble info field set.
Removals:

View File

@ -106,6 +106,9 @@ _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)
@ -113,8 +116,6 @@ _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);