Elementary toolbar: Don't call "clicked" callback when item is just selected 79/69779/3
authorYoungbok Shin <youngb.shin@samsung.com>
Mon, 16 May 2016 23:17:33 +0000 (08:17 +0900)
committerYoungbok Shin <youngb.shin@samsung.com>
Tue, 17 May 2016 00:19:25 +0000 (09:19 +0900)
commit69c8887f497e7be62b953818fee3ca842838dd51
treea72f2d0852dcf045b46f9e55653e2f6f709a3675
parent4ccdd83c5ce1823dda5e03a6f5c716c232c709fa
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

Change-Id: I33bd9a222bd5040bf77d07402c3528c421233b3a
src/lib/elm_toolbar.c