elm diskselector: Fixed elm_diskselector_item_selected_set() hanging bug. Patch by Hyoyoung Chang <hyoyoung.chang@samsung.com>

On Wed, Sep 7, 2011 at 6:51 PM, Hyoyoung Chang <hyoyoung.chang@samsung.com> wrote:
> Dear developers.
>
> This patch is fixing - hangs after using elm_diskselector_item_selected_set.
> Elm_diskselector add a idler and remove in _move_scroller with checking
> wd->idler
> But in elm_diskselector_item_selected_set, it's not use wd->idler.
> So idler is called infinite.
>
> It also registered in ticket ( http://trac.enlightenment.org/e/ticket/854 )
>
> Thank you

On Wed, Sep 7, 2011 at 7:00 PM, Hyoyoung Chang <hyoyoung.chang@samsung.com> wrote:
> I omitted about credit.
> With cnook, I can easily find this bug.
> Thanks to cnook


SVN revision: 63269
This commit is contained in:
Daniel Juyung Seo 2011-09-07 15:02:27 +00:00
parent d20294db8e
commit 299d0f4106
1 changed files with 1 additions and 1 deletions

View File

@ -1181,7 +1181,7 @@ elm_diskselector_item_selected_set(Elm_Diskselector_Item *it, Eina_Bool selected
}
if (!wd->idler)
ecore_idler_add(_move_scroller, it->base.widget);
wd->idler = ecore_idler_add(_move_scroller, it->base.widget);
}
EAPI Eina_Bool