From: Jaehwan Kim <jae.hwan.kim@samsung.com>
authorJaehwan Kim <jae.hwan.kim@samsung.com>
Thu, 25 Aug 2011 05:20:59 +0000 (05:20 +0000)
committerCarsten Haitzler <raster@rasterman.com>
Thu, 25 Aug 2011 05:20:59 +0000 (05:20 +0000)
commit3d6d9345ecbc2ec4eaca1d6285fc46ff1837941a
tree3f29592873b3f9ae662ba1ec2b58b4da67859165
parentf9f0b9046bc2f6e10a084a80b6127a945df97fa0
From: Jaehwan Kim <jae.hwan.kim@samsung.com>
Subject: [E-devel] [Patch] elm_genlist_clear

When items are added right after genlist clear, genlist is scrolled to the previous position.
If all item is deleted, the scroller have to locate 0, 0.
But scroller has wanted position to remembers the scrolled location.
So even if all item is deleted, it locate previous position.
Then I added elm_smart_scroller_child_region_show(wd->scr, 0, 0, 0, 0)
at the end of the elm_genlist_clear.

SVN revision: 62778
src/lib/elm_genlist.c