Don't allow toolbar to be dragable w/ the mouse if scrollable is set
authorChristopher Michael <cpmichael1@comcast.net>
Thu, 10 Jun 2010 01:21:39 +0000 (01:21 +0000)
committerChristopher Michael <cpmichael1@comcast.net>
Thu, 10 Jun 2010 01:21:39 +0000 (01:21 +0000)
to False.

SVN revision: 49602

src/lib/elm_toolbar.c

index 878ffa60f86b4d230ae429f89c4703d58bca6d92..d27e3ad0e5df86b0eaa96f7429200d3f8fe98c86 100644 (file)
@@ -645,6 +645,7 @@ elm_toolbar_scrollable_set(Evas_Object *obj, Eina_Bool scrollable)
 
    if (!wd) return;
    wd->scrollable = scrollable;
+   elm_smart_scroller_bounce_allow_set(wd->scr, wd->scrollable, 0);
    _sizing_eval(obj);
 }