forked from enlightenment/efl
tooltip: set the correct style of label.
Summary: check theme of tooltip label by $clouseau elementary_test -to "tooltip" tooltipi label theme was elm/label/base/default but we want theme "elm/label/base/tooltip/default" to be set instead. @fix Test Plan: $clouseau elementary_test -to "tooltip" Reviewers: raster, Hermet Subscribers: seoz, sachin.dev Differential Revision: https://phab.enlightenment.org/D2509
This commit is contained in:
parent
5535831733
commit
2cd50b4e7f
|
@ -735,8 +735,9 @@ _tooltip_label_style_set(Evas_Object *obj, Evas_Object *label)
|
|||
{
|
||||
ELM_TOOLTIP_GET_OR_RETURN(tt, obj);
|
||||
char buf[100] = {0};
|
||||
const char *style = tt->style ? tt->style : "default";
|
||||
|
||||
sprintf(buf, "tooltip/%s", tt->style);
|
||||
sprintf(buf, "tooltip/%s", style);
|
||||
if (!elm_object_style_set(label, buf))
|
||||
{
|
||||
WRN("Failed to set tooltip label style: %s, reverting to old style",
|
||||
|
|
Loading…
Reference in New Issue