bu5hm4n pushed a commit to branch master.

http://git.enlightenment.org/misc/entrance.git/commit/?id=58200357c965fcd1e4b05517db5473a393d9f3be

commit 58200357c965fcd1e4b05517db5473a393d9f3be
Author: Marcel Hollerbach <[email protected]>
Date:   Wed May 14 10:04:35 2014 +0200

    entrance: hide files starting with '.'
---
 src/daemon/entrance_image.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/daemon/entrance_image.c b/src/daemon/entrance_image.c
index d389015..816f0a9 100644
--- a/src/daemon/entrance_image.c
+++ b/src/daemon/entrance_image.c
@@ -18,7 +18,9 @@ _entrance_image_readdir(const char *path)
    EINA_ITERATOR_FOREACH(files, file_stat)
      {
         buf = file_stat->path;
-        if (file_stat->type == EINA_FILE_REG && 
evas_object_image_extension_can_load_get(buf))
+        if (file_stat->path[file_stat->name_start] != '.'
+            && file_stat->type == EINA_FILE_REG
+            && evas_object_image_extension_can_load_get(buf))
           targets = eina_list_append(targets, eina_stringshare_add(buf));
      }
    eina_iterator_free(files);

-- 


Reply via email to