diff options
Diffstat (limited to 'fiv-sidebar.c')
-rw-r--r-- | fiv-sidebar.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/fiv-sidebar.c b/fiv-sidebar.c index 5c23a33..900c8a8 100644 --- a/fiv-sidebar.c +++ b/fiv-sidebar.c @@ -433,7 +433,10 @@ complete_path(GFile *location, GtkListStore *model) !info) break; - if (g_file_info_get_file_type(info) != G_FILE_TYPE_DIRECTORY || + if (g_file_info_get_file_type(info) != G_FILE_TYPE_DIRECTORY) + continue; + if (g_file_info_has_attribute(info, + G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN) && g_file_info_get_is_hidden(info)) continue; |