summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmitesh Singh <amitesh.sh@samsung.com>2015-05-19 21:02:55 +0900
committerChunEon Park <hermet@hermet.pe.kr>2015-05-19 21:02:55 +0900
commitb3a4d8b888d8187d357448e49e81cb319367fbda (patch)
tree3ed0fd7dbd2db476070f4d7132d75b752f641bb0
parent6b453e8d8cdf861ee9ad8e34703b51ef8f50101a (diff)
slider: use theme of object for popup.
Summary: @fix Signed-off-by: Amitesh Singh <amitesh.sh@samsung.com> Reviewers: raster, Hermet, JackDanielZ Subscribers: sachin.dev, seoz Differential Revision: https://phab.enlightenment.org/D2542
-rw-r--r--src/lib/elm_slider.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elm_slider.c b/src/lib/elm_slider.c
index 79a063e32..361b807b7 100644
--- a/src/lib/elm_slider.c
+++ b/src/lib/elm_slider.c
@@ -507,9 +507,9 @@ _popup_add(Elm_Slider_Data *sd, Eo *obj)
507 sd->popup = edje_object_add(evas_object_evas_get(obj)); 507 sd->popup = edje_object_add(evas_object_evas_get(obj));
508 evas_object_smart_member_add(sd->popup, obj); 508 evas_object_smart_member_add(sd->popup, obj);
509 if (sd->horizontal) 509 if (sd->horizontal)
510 _elm_theme_set(NULL, sd->popup, "slider", "horizontal/popup", elm_widget_style_get(obj)); 510 _elm_theme_set(elm_widget_theme_get(obj), sd->popup, "slider", "horizontal/popup", elm_widget_style_get(obj));
511 else 511 else
512 _elm_theme_set(NULL, sd->popup, "slider", "vertical/popup", elm_widget_style_get(obj)); 512 _elm_theme_set(elm_widget_theme_get(obj), sd->popup, "slider", "vertical/popup", elm_widget_style_get(obj));
513 edje_object_scale_set(sd->popup, elm_widget_scale_get(obj) * 513 edje_object_scale_set(sd->popup, elm_widget_scale_get(obj) *
514 elm_config_scale_get()); 514 elm_config_scale_get());
515 edje_object_signal_callback_add(sd->popup, "popup,hide,done", "elm", // XXX: for compat 515 edje_object_signal_callback_add(sd->popup, "popup,hide,done", "elm", // XXX: for compat