e: fix backlight slider use with mouse wheel.

SVN revision: 62441
This commit is contained in:
Cedric BAIL 2011-08-14 13:01:11 +00:00
parent ecaba44ca3
commit ba6a7c5c6a
1 changed files with 1 additions and 2 deletions

View File

@ -236,7 +236,7 @@ _backlight_popup_new(Instance *inst)
inst->o_table = e_widget_table_add(evas, 0);
o = e_widget_slider_add(evas, 0, 0, NULL, 0.0, 1.0, 0.0, 0, &(inst->val), NULL, 100);
o = e_widget_slider_add(evas, 0, 0, NULL, 0.0, 1.0, 0.05, 0, &(inst->val), NULL, 100);
evas_object_smart_callback_add(o, "changed", _slider_cb, inst);
inst->o_slider = o;
e_widget_table_object_align_append(inst->o_table, o,
@ -355,7 +355,6 @@ _backlight_cb_mouse_wheel(void *data, Evas *evas __UNUSED__, Evas_Object *obj __
_backlight_level_decrease(inst);
else if (ev->z < 0)
_backlight_level_increase(inst);
v = inst->val;
EINA_LIST_FOREACH(backlight_instances, l, inst)