rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=63676cc221bb7393bc1ab3a513f78cb898997f20

commit 63676cc221bb7393bc1ab3a513f78cb898997f20
Author: Vyacheslav Reutskiy <v.reuts...@samsung.com>
Date:   Tue Apr 19 18:21:12 2016 +0300

    popup: button cancel should show if it setted
    
    Fixes T3478
    
    Change-Id: Ic2868ae6dc755d7b86c90044c1ac97bd6682c3ce
---
 src/bin/ui/popup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/ui/popup.c b/src/bin/ui/popup.c
index c6f08f5..53b40fd 100644
--- a/src/bin/ui/popup.c
+++ b/src/bin/ui/popup.c
@@ -118,7 +118,7 @@ popup_want_action(const char *title,
 
    if ((popup_btns & BTN_CANCEL) && (popup_btns & BTN_DONT_SAVE))
      BTN_ADD(_("Cancel"), "button3", &_btn_cancel)
-   else
+   else if (popup_btns & BTN_CANCEL)
      BTN_ADD(_("Cancel"), "button2", &_btn_cancel)
 
    evas_object_show(ap.popup);

-- 


Reply via email to