ajwillia-ms pushed a commit to branch master.

http://git.enlightenment.org/tools/edi.git/commit/?id=66ef93730b898ac10e5b9a061c86dd999f92d966

commit 66ef93730b898ac10e5b9a061c86dd999f92d966
Author: Andy Williams <a...@andywilliams.me>
Date:   Thu Oct 5 00:37:43 2017 +0100

    filepanel: don't update status and scm etc for hidden files
---
 src/bin/edi_filepanel.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/bin/edi_filepanel.c b/src/bin/edi_filepanel.c
index da644cd..64a838d 100644
--- a/src/bin/edi_filepanel.c
+++ b/src/bin/edi_filepanel.c
@@ -950,7 +950,9 @@ _file_listing_updated(void *data EINA_UNUSED, int type 
EINA_UNUSED,
    Elm_Object_Item *parent_it;
 
    dir = ecore_file_dir_get(ev->filename);
-   if (strncmp(edi_project_get(), dir, strlen(edi_project_get())))
+   if (strncmp(edi_project_get(), dir, strlen(edi_project_get())) ||
+       ev->filename[strlen(edi_project_get()) + 1] == '.' ||
+       _file_path_hidden(ev->filename, EINA_FALSE))
      return;
 
    parent_it = _file_listing_item_find(dir);

-- 


Reply via email to