Elementary toolbar: Don't call "clicked" callback when item is just selected
authorYoungbok Shin <youngb.shin@samsung.com>
Fri, 13 May 2016 05:06:18 +0000 (14:06 +0900)
committerJaehwan Kim <jae.hwan.kim@samsung.com>
Fri, 13 May 2016 05:06:18 +0000 (14:06 +0900)
commit91437fafb001391bbc8f54807f64b012cfacde09
tree6642f61a44385720bb2a0b9eb21876afcac56071
parente80d8d9a7134fdc00fc2ea791205eee5d208e175
Elementary toolbar: Don't call "clicked" callback when item is just selected

Summary:
"clicked" callback must be called when an item is really clicked.
But, toolbar had called it whenever an item was selected.
Even, it could be triggered by "elm_toolbar_item_selected_set()" API.
So, "clicked" callback will be called when only an item is clicked.
Also, it changed confusing names of related internal functions.
@fix

Test Plan: N/A

Reviewers: jaehwan, woohyun, cedric

Subscribers: jpeg

Differential Revision: https://phab.enlightenment.org/D3937
src/lib/elementary/elm_toolbar.c