filepanel: don't update status and scm etc for hidden files

This commit is contained in:
Andy Williams 2017-10-05 00:37:43 +01:00
parent 21d73fd38b
commit 66ef93730b
1 changed files with 3 additions and 1 deletions

View File

@ -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);