rimmed pushed a commit to branch master.

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

commit a34fb79e4ebed2d062d6dc301b716abd98493456
Author: Vyacheslav Reutskiy <v.reuts...@samsung.com>
Date:   Thu Oct 27 13:38:03 2016 +0300

    popup: remove unused enum value
    
    Change-Id: I649b0396a9f66d659efb23aab588c0cbb2255965
---
 src/bin/ui/main_window.h | 3 +--
 src/bin/ui/popup.c       | 6 +-----
 2 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/src/bin/ui/main_window.h b/src/bin/ui/main_window.h
index 5dd57ee..ea893b8 100644
--- a/src/bin/ui/main_window.h
+++ b/src/bin/ui/main_window.h
@@ -147,8 +147,7 @@ typedef enum _Popup_Button
    BTN_SAVE       = (1 << 2),
    BTN_DONT_SAVE  = (1 << 3),
    BTN_REPLACE    = (1 << 4),
-   BTN_APPEND     = (1 << 5),
-   BTN_RESET      = (1 << 6)
+   BTN_RESET      = (1 << 5)
 } Popup_Button;
 
 typedef enum _Popup_Current
diff --git a/src/bin/ui/popup.c b/src/bin/ui/popup.c
index f666d2f..06a0c80 100644
--- a/src/bin/ui/popup.c
+++ b/src/bin/ui/popup.c
@@ -149,11 +149,10 @@ popup_add(const char *title,
    int bt_num = 0;
    pd->button.ok        = _button_add(pd, &bt_num, _("Ok"),         popup_btns 
& BTN_OK);
    pd->button.save      = _button_add(pd, &bt_num, _("Save"),       popup_btns 
& BTN_SAVE);
-   pd->button.append    = _button_add(pd, &bt_num, _("Append"),     popup_btns 
& BTN_APPEND);
    pd->button.replace   = _button_add(pd, &bt_num, _("Replace"),    popup_btns 
& BTN_REPLACE);
    pd->button.dont_save = _button_add(pd, &bt_num, _("Don't save"), popup_btns 
& BTN_DONT_SAVE);
    pd->button.cancel    = _button_add(pd, &bt_num, _("Cancel"),     popup_btns 
& BTN_CANCEL);
-   pd->button.reset    = _button_add(pd, &bt_num, _("Reset"),     popup_btns & 
BTN_RESET);
+   pd->button.reset     = _button_add(pd, &bt_num, _("Reset"),      popup_btns 
& BTN_RESET);
 
    if (msg)
      elm_object_text_set(pd->popup, msg);
@@ -190,9 +189,6 @@ popup_button_disabled_set(Evas_Object *popup, Popup_Button 
btn, Eina_Bool disabl
       case BTN_SAVE:
          elm_object_disabled_set(pd->button.save, disabled);
          break;
-      case BTN_APPEND:
-         elm_object_disabled_set(pd->button.append, disabled);
-         break;
       case BTN_REPLACE:
          elm_object_disabled_set(pd->button.replace, disabled);
          break;

-- 


Reply via email to