summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2012-12-21 08:40:42 +0000
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>2012-12-21 08:40:42 +0000
commit1c2d6e4aeac4472141f6b8762d6c0f534d978eda (patch)
tree70346c2b16f0c159ddb8538a0a3aee221208d4e7
parentb9d76af697f17135685dfa05b9dcb6f8d230085d (diff)
write myself a note on why symlinks are disabled in menu
SVN revision: 81519
-rw-r--r--src/modules/fileman/e_mod_menu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/fileman/e_mod_menu.c b/src/modules/fileman/e_mod_menu.c
index 2327abde1..2b7a8a015 100644
--- a/src/modules/fileman/e_mod_menu.c
+++ b/src/modules/fileman/e_mod_menu.c
@@ -110,6 +110,7 @@ _e_mod_menu_populate_filter(void *data __UNUSED__, Eio_File *handler __UNUSED__,
110 if (fileman_config->view.menu_shows_files) 110 if (fileman_config->view.menu_shows_files)
111 return (info->path[info->name_start] != '.'); 111 return (info->path[info->name_start] != '.');
112 if (lstat(info->path, &st)) return EINA_FALSE; 112 if (lstat(info->path, &st)) return EINA_FALSE;
113 /* don't show links to prevent infinite submenus */
113 return (info->path[info->name_start] != '.') && (info->type == EINA_FILE_DIR) && (!S_ISLNK(st.st_mode)); 114 return (info->path[info->name_start] != '.') && (info->type == EINA_FILE_DIR) && (!S_ISLNK(st.st_mode));
114} 115}
115 116