rimmed pushed a commit to branch master.

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

commit e9f66d284c62575f0b95b7ab0bb42f782f7bad69
Author: Vitalii Vorobiov <vi.vorob...@samsung.com>
Date:   Fri Oct 2 18:21:43 2015 +0300

    tab_home_open: ask user if he want to clear recent list or not
---
 src/bin/ui/tab_home_open.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/src/bin/ui/tab_home_open.c b/src/bin/ui/tab_home_open.c
index f181660..f8db064 100644
--- a/src/bin/ui/tab_home_open.c
+++ b/src/bin/ui/tab_home_open.c
@@ -93,11 +93,17 @@ _recent_clear(void *data __UNUSED__,
               Evas_Object *obj __UNUSED__,
               void *event_info __UNUSED__)
 {
+   Popup_Button btn_res;
+   btn_res = popup_want_action(_("Confirm clear recent list"),
+                               _("Are you sure you want to clear list of "
+                                 "recently opened projects?<br>"),
+                               NULL, NULL, BTN_OK|BTN_CANCEL, NULL, NULL);
+   if (BTN_CANCEL == btn_res) return;
+
    config_recent_list_clear();
    _tab_open_project_recents_update();
 }
 
-
 Evas_Object *
 _tab_open_project_add(void)
 {

-- 


Reply via email to