elm genlist: Vertical bounce enable value can be changed by

elementary configuration environment. Patch by Bluezery
<ohpowel@gmail.com>

On Thu, Jul 12, 2012 at 1:00 AM, Bluezery <ohpowel@gmail.com> wrote:
> Hello,
>
> Vertical bounce enable value can be changed by elementary
> configuration environment.
> But currently It was always EINA_FALSE.  I fix that this value can be
> got from elm_config value.
>
> Please review this patch.
> Thanks

SVN revision: 73596
This commit is contained in:
Daniel Juyung Seo 2012-07-12 04:46:46 +00:00
parent ed707942e2
commit 11d5f579a7
2 changed files with 5 additions and 0 deletions

View File

@ -303,3 +303,7 @@
* Use this new API to replace a non backend safe call in the copy and
paste code
2012-07-12 Tae-Hwan Kim (Bluezery)
* Fix that vertical bounce enable value can be get from elm_config
when the genlist is added.

View File

@ -3606,6 +3606,7 @@ elm_genlist_add(Evas_Object *parent)
elm_smart_scroller_bounce_allow_set(wd->scr, EINA_FALSE,
_elm_config->thumbscroll_bounce_enable);
elm_widget_resize_object_set(obj, wd->scr);
wd->v_bounce = _elm_config->thumbscroll_bounce_enable;
evas_object_smart_callback_add(wd->scr, "animate,start", _scr_anim_start, obj);
evas_object_smart_callback_add(wd->scr, "animate,stop", _scr_anim_stop, obj);