cedric pushed a commit to branch enlightenment-0.17. http://git.enlightenment.org/core/enlightenment.git/commit/?id=f3c1ca20569d59cbd5caaa3090c37265d2b40187
commit f3c1ca20569d59cbd5caaa3090c37265d2b40187 Author: Daniel Juyung Seo <[email protected]> Date: Mon Jan 27 13:17:33 2014 +0900 bugfix: fix up/down key directory of slider. --- src/bin/e_slider.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/bin/e_slider.c b/src/bin/e_slider.c index 361d2ca..811e6e0 100644 --- a/src/bin/e_slider.c +++ b/src/bin/e_slider.c @@ -427,8 +427,8 @@ _e_smart_event_key_down(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSE E_Smart_Data *sd = data; if (sd->disabled) return; - if ((!strcmp(ev->key, "Up")) || - (!strcmp(ev->key, "KP_Up")) || + if ((!strcmp(ev->key, "Down")) || + (!strcmp(ev->key, "KP_Down")) || (!strcmp(ev->key, "Left")) || (!strcmp(ev->key, "KP_Left"))) { @@ -441,8 +441,8 @@ _e_smart_event_key_down(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSE edje_object_part_drag_step(sd->edje_obj, "e.dragable.slider", -1, -1); sd->direction = -1; } - else if ((!strcmp(ev->key, "Down")) || - (!strcmp(ev->key, "KP_Down")) || + else if ((!strcmp(ev->key, "Up")) || + (!strcmp(ev->key, "KP_Up")) || (!strcmp(ev->key, "Right")) || (!strcmp(ev->key, "KP_Right"))) { --
