projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6850096
)
Don't let sliders mess with parent scrollers.
author
Gustavo Lima Chaves
<glima@profusion.mobi>
Mon, 6 Dec 2010 12:45:56 +0000
(12:45 +0000)
committer
Gustavo Lima Chaves
<glima@profusion.mobi>
Mon, 6 Dec 2010 12:45:56 +0000
(12:45 +0000)
Actually all dragable thingies in Elementary should get that safety trick.
SVN revision: 55326
src/lib/elm_slider.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_slider.c
b/src/lib/elm_slider.c
index
652a914
..
bd5350a
100644
(file)
--- a/
src/lib/elm_slider.c
+++ b/
src/lib/elm_slider.c
@@
-373,6
+373,7
@@
_drag_start(void *data, Evas_Object *obj __UNUSED__, const char *emission __UNUS
evas_object_smart_callback_call(data, SIG_DRAG_START, NULL);
_units_set(data);
_indicator_set(data);
+ elm_widget_scroll_hold_push(data);
}
static void
@@
-382,6
+383,7
@@
_drag_stop(void *data, Evas_Object *obj __UNUSED__, const char *emission __UNUSE
evas_object_smart_callback_call(data, SIG_DRAG_STOP, NULL);
_units_set(data);
_indicator_set(data);
+ elm_widget_scroll_hold_pop(data);
}
static void