forked from enlightenment/efl
elm_slider: fix theme apply
Summary: using theme of the object instead of default for subparts. @fix Reviewers: cedric, seoz, Hermet, raster, reutskiy.v.v Differential Revision: https://phab.enlightenment.org/D2370
This commit is contained in:
parent
fa0b1bc491
commit
8e61552bc5
|
@ -540,7 +540,7 @@ _elm_slider_elm_widget_theme_apply(Eo *obj, Elm_Slider_Data *sd)
|
|||
{
|
||||
eina_stringshare_replace(&ld->group, "horizontal");
|
||||
if (sd->popup)
|
||||
_elm_theme_set(NULL, sd->popup,
|
||||
_elm_theme_set(elm_object_theme_get(obj), sd->popup,
|
||||
"slider", "horizontal/popup",
|
||||
elm_widget_style_get(obj));
|
||||
}
|
||||
|
@ -548,7 +548,7 @@ _elm_slider_elm_widget_theme_apply(Eo *obj, Elm_Slider_Data *sd)
|
|||
{
|
||||
eina_stringshare_replace(&ld->group, "vertical");
|
||||
if (sd->popup)
|
||||
_elm_theme_set(NULL, sd->popup,
|
||||
_elm_theme_set(elm_object_theme_get(obj), sd->popup,
|
||||
"slider", "vertical/popup",
|
||||
elm_widget_style_get(obj));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue