jaehyun pushed a commit to branch master.

http://git.enlightenment.org/tools/enventor.git/commit/?id=1b5054c1ebe718341ce041405fec86f69caaa3fb

commit 1b5054c1ebe718341ce041405fec86f69caaa3fb
Author: Jaehyun Cho <jae_hyun....@samsung.com>
Date:   Wed May 4 15:06:04 2016 +0900

    file_browser: Disable functions if workspace is not set.
    
    Workspace layout is disabled to disable functions in file browser if
    workspace is not set.
---
 src/bin/file_browser.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/bin/file_browser.c b/src/bin/file_browser.c
index b34f20c..4e249c2 100644
--- a/src/bin/file_browser.c
+++ b/src/bin/file_browser.c
@@ -538,6 +538,8 @@ file_browser_workspace_set(const char *workspace_path)
    if (!workspace) return;
    bd->workspace = workspace;
 
+   elm_object_disabled_set(bd->workspace_ly, EINA_FALSE);
+
    if (workspace->sub_file_list)
      gl_exp_req(NULL, NULL, workspace->it);
 }
@@ -629,6 +631,8 @@ file_browser_init(Evas_Object *parent)
    bd->genlist = genlist;
    bd->show_all_check = show_all_check;
 
+   elm_object_disabled_set(workspace_ly, EINA_TRUE);
+
    return workspace_ly;
 }
 

-- 


Reply via email to