[Genlist] Applied Upstream patch r62778.
authorraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 25 Aug 2011 05:20:59 +0000 (05:20 +0000)
committerDaniel Juyung Seo <juyung.seo@samsung.com>
Fri, 26 Aug 2011 05:05:58 +0000 (14:05 +0900)
commit05564bbf1b18c84fc5f7ab18ba536de1e578db88
treef2d6b439b4028331b844931ce76835fcc3b17db7
parent9f529047ee48a04c9e67426b5f376fbf9fc90045
[Genlist] Applied Upstream patch r62778.

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.

git-svn-id: https://svn.enlightenment.org/svn/e/trunk/elementary@62778 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
src/lib/elm_genlist.c