summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-07-22 12:27:20 +0200
committerXavi Artigas <xavierartigas@yahoo.es>2019-07-31 10:18:20 +0200
commitc0082b1c71ed63f982bb4b9aed2af4b50d46dabe (patch)
treecdb98e30f30f4f4c20c52403efdf98f08977a917 /src/modules
parent911eab34207f6f9355f4ed15009d57e079183849 (diff)
efl_ui_range_display: move events from spin
we concluded min,reached and max,reached should be on every widget that implements range_display. This here is the start of that work, the events are moved, next commit fixes all widgets, the last commits enables tests in the spec unit test. ref T7897 ref T7895 Differential Revision: https://phab.enlightenment.org/D9371
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/elementary/prefs/elm_slider.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/elementary/prefs/elm_slider.c b/src/modules/elementary/prefs/elm_slider.c
index 961d76a32e..c4e5a95aa5 100644
--- a/src/modules/elementary/prefs/elm_slider.c
+++ b/src/modules/elementary/prefs/elm_slider.c
@@ -27,7 +27,7 @@ elm_prefs_slider_add(const Elm_Prefs_Item_Iface *iface EINA_UNUSED,
27 evas_object_data_set(obj, "prefs_type", (void *)type); 27 evas_object_data_set(obj, "prefs_type", (void *)type);
28 28
29 efl_event_callback_add 29 efl_event_callback_add
30 (obj, EFL_UI_SLIDER_EVENT_CHANGED, _item_changed_cb, cb); 30 (obj, EFL_UI_RANGE_EVENT_CHANGED, _item_changed_cb, cb);
31 if (type == ELM_PREFS_TYPE_INT) 31 if (type == ELM_PREFS_TYPE_INT)
32 { 32 {
33 elm_slider_unit_format_set(obj, "%1.0f"); 33 elm_slider_unit_format_set(obj, "%1.0f");