atspi: toolbar - fix cannot call select callback
authorShinwoo Kim <cinoo.kim@samsung.com>
Fri, 5 Aug 2016 07:17:13 +0000 (16:17 +0900)
committerShinwoo Kim <cinoo.kim@samsung.com>
Fri, 5 Aug 2016 07:17:13 +0000 (16:17 +0900)
commit89d5479c0bde1f78184337e916acec65cef9f9df
treece77087c826cac30bf17cbd478a62dc4e13865bc
parent720f17619e21e53ed759cf27c3b68ef4f47f49cf
atspi: toolbar - fix cannot call select callback
There is a line to check select_mode in _item_select function.
The item selected(clicked) callback is called when the select_mode is ELM_OBJECT_SELECT_MODE_NONE.
The checking select_mode should be handled at one place.
src/lib/elementary/elm_toolbar.c