kimcinoo pushed a commit to branch master.

commit 5d3073022bf07fb08735f476ba378ab0e0185881
Author: Shinwoo Kim <[email protected]>
Date:   Thu Mar 7 21:33:26 2013 +0900

    [access][toolbar] use proper access activate callback
---
 src/lib/elm_toolbar.c | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/src/lib/elm_toolbar.c b/src/lib/elm_toolbar.c
index de71598..d0f6759 100644
--- a/src/lib/elm_toolbar.c
+++ b/src/lib/elm_toolbar.c
@@ -1846,12 +1846,7 @@ _access_activate_cb(void *data __UNUSED__,
 
    if (elm_widget_item_disabled_get(it)) return;
 
-   if (it->selected)
-     {
-        _elm_access_say(E_("Unselected"));
-        _item_unselect(it);
-     }
-   else
+   if (!it->selected)
      {
         _elm_access_say(E_("Selected"));
         _item_select(it);

-- 

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev

Reply via email to