forked from enlightenment/efl
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:
parent
2e8cbfe9b4
commit
93c0a03c68
|
@ -509,4 +509,7 @@
|
||||||
- elm_win_floating_mode_set
|
- elm_win_floating_mode_set
|
||||||
- elm_win_floating_mode_get
|
- elm_win_floating_mode_get
|
||||||
|
|
||||||
|
2012-09-14 Shinwoo Kim (kimcinoo)
|
||||||
|
|
||||||
|
* Fix info field set for bubble widget.
|
||||||
|
|
||||||
|
|
|
@ -27,6 +27,7 @@ Fixes:
|
||||||
* Fix popup to apply the same style to the notify sub-widget.
|
* Fix popup to apply the same style to the notify sub-widget.
|
||||||
* Fix Ctxpopup direction if unknown priority used.
|
* Fix Ctxpopup direction if unknown priority used.
|
||||||
* Fix diskselector when bounce off and round enabled.
|
* Fix diskselector when bounce off and round enabled.
|
||||||
|
* Fix bubble info field set.
|
||||||
|
|
||||||
Removals:
|
Removals:
|
||||||
|
|
||||||
|
|
|
@ -106,6 +106,9 @@ _elm_bubble_smart_text_set(Evas_Object *obj,
|
||||||
const char *item,
|
const char *item,
|
||||||
const char *label)
|
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 (item && (!strcmp(item, "info") || !strcmp(item, "elm.info")))
|
||||||
{
|
{
|
||||||
if (label)
|
if (label)
|
||||||
|
@ -113,8 +116,6 @@ _elm_bubble_smart_text_set(Evas_Object *obj,
|
||||||
else
|
else
|
||||||
elm_layout_signal_emit(obj, "elm,state,info,hidden", "elm");
|
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);
|
elm_layout_sizing_eval(obj);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue