rimmed pushed a commit to branch master.

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

commit bc36a2caadaf9e911f17fd7a2e363a86c6302d51
Author: Vitalii Vorobiov <vi.vorob...@samsung.com>
Date:   Thu Feb 11 14:30:13 2016 +0000

    tab_home: enable menu items when project creation was canceled during 
compile
---
 src/bin/ui/tab_home_import_edc.c | 2 ++
 src/bin/ui/tab_home_import_edj.c | 2 ++
 src/bin/ui/tab_home_new.c        | 2 ++
 3 files changed, 6 insertions(+)

diff --git a/src/bin/ui/tab_home_import_edc.c b/src/bin/ui/tab_home_import_edc.c
index 80c50c5..2433ef1 100644
--- a/src/bin/ui/tab_home_import_edc.c
+++ b/src/bin/ui/tab_home_import_edc.c
@@ -400,6 +400,7 @@ static Eina_Bool
 _teardown_open_splash(void *data __UNUSED__, Splash_Status status __UNUSED__)
 {
    pm_project_thread_free();
+   ui_menu_items_list_disable_set(ap.menu, MENU_ITEMS_LIST_MAIN, false);
    return true;
 }
 
@@ -407,6 +408,7 @@ static Eina_Bool
 _cancel_open_splash(void *data __UNUSED__, Splash_Status status __UNUSED__)
 {
    pm_project_thread_cancel();
+   ui_menu_items_list_disable_set(ap.menu, MENU_ITEMS_LIST_MAIN, false);
    return true;
 }
 
diff --git a/src/bin/ui/tab_home_import_edj.c b/src/bin/ui/tab_home_import_edj.c
index 4df5eae..2fe8b92 100644
--- a/src/bin/ui/tab_home_import_edj.c
+++ b/src/bin/ui/tab_home_import_edj.c
@@ -75,6 +75,7 @@ static Eina_Bool
 _teardown_open_splash(void *data __UNUSED__, Splash_Status status __UNUSED__)
 {
    pm_project_thread_free();
+   ui_menu_items_list_disable_set(ap.menu, MENU_ITEMS_LIST_MAIN, false);
    return true;
 }
 
@@ -82,6 +83,7 @@ static Eina_Bool
 _cancel_open_splash(void *data __UNUSED__, Splash_Status status __UNUSED__)
 {
    pm_project_thread_cancel();
+   ui_menu_items_list_disable_set(ap.menu, MENU_ITEMS_LIST_MAIN, false);
    return true;
 }
 
diff --git a/src/bin/ui/tab_home_new.c b/src/bin/ui/tab_home_new.c
index e96befb..29a1bce 100644
--- a/src/bin/ui/tab_home_new.c
+++ b/src/bin/ui/tab_home_new.c
@@ -489,6 +489,7 @@ _teardown_open_splash(void *data __UNUSED__, Splash_Status 
status __UNUSED__)
    ecore_file_recursive_rm(tab_new.tmp_dir_path);
    eina_stringshare_del(tab_new.tmp_dir_path);
    tab_new.tmp_dir_path = NULL;
+   ui_menu_items_list_disable_set(ap.menu, MENU_ITEMS_LIST_MAIN, false);
 
    return true;
 }
@@ -497,6 +498,7 @@ static Eina_Bool
 _cancel_open_splash(void *data __UNUSED__, Splash_Status status __UNUSED__)
 {
    pm_project_thread_cancel();
+   ui_menu_items_list_disable_set(ap.menu, MENU_ITEMS_LIST_MAIN, false);
    return true;
 }
 

-- 


Reply via email to