From: WooHyun Jung <wh0705.jung@samsung.com>
authorraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 22 Mar 2011 02:59:06 +0000 (02:59 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 22 Mar 2011 02:59:06 +0000 (02:59 +0000)
Subject: [E-devel] [Patch] Small patch for elm_slider (scrolling pop +
push)

I made small patch for elm_slider.

I think scrolling should be freezed (not held) when dragging is
started.

This is because scrolling can go on with elm_widget_scroll_hold_push.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@57959 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/elm_slider.c

index 2b095f1..a36b4a7 100644 (file)
@@ -407,7 +407,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);
+   elm_widget_scroll_freeze_push(data);
 }
 
 static void
@@ -417,7 +417,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);
+   elm_widget_scroll_freeze_pop(data);
 }
 
 static void