list: call "selected" callback after set focus to the selected item
authorJaeun Choi <jaeun12.choi@samsung.com>
Thu, 17 Jul 2014 07:58:36 +0000 (16:58 +0900)
committerJaeun Choi <jaeun12.choi@samsung.com>
Fri, 18 Jul 2014 10:34:13 +0000 (19:34 +0900)
commit19c9ae51432093d7d610e3bdae3a0b85737c9e46
tree6fe6085433bea38477c0950aaf616fb55987d8e2
parenta1c7f8a36106565196b46de43e5d20d81a0fc348
list: call "selected" callback after set focus to the selected item

in current code, when a list item is selected, "selected" callback is called first
and then focus is set to the item. this is a problem if another widget, popup for instance,
is created on top of the list in the callback function. in such a case, the popup should
get focused (not the list item). this patch fixes it by changing the order.

@fix
src/lib/elm_list.c