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:
Andrii Kroitor 2015-04-17 16:52:03 +09:00 committed by ChunEon Park
parent fa0b1bc491
commit 8e61552bc5
1 changed files with 2 additions and 2 deletions

View File

@ -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));
}