[geany/geany-plugins] 03d882: treebrowser: Fix the "Show hidden files" preference to actually work

Colomban Wendling git-noreply at xxxxx
Sat Jul 7 02:56:19 UTC 2012


Branch:      refs/heads/1.22_release
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Sat, 07 Jul 2012 02:56:19
Commit:      03d88255f42d2e9833e61abd0d1b654a740f577a
             https://github.com/geany/geany-plugins/commit/03d88255f42d2e9833e61abd0d1b654a740f577a

Log Message:
-----------
treebrowser: Fix the "Show hidden files" preference to actually work

Based on a patch from Lex Trotman, thanks.  Fixes Geany bug #3539255.


Modified Paths:
--------------
    treebrowser/src/treebrowser.c

Modified: treebrowser/src/treebrowser.c
3 files changed, 3 insertions(+), 0 deletions(-)
===================================================================
@@ -342,6 +342,9 @@ enum
 	if (! NZV(base_name))
 		return FALSE;
 
+	if (CONFIG_SHOW_HIDDEN_FILES)
+		return FALSE;
+
 #ifdef G_OS_WIN32
 	if (win32_check_hidden(filename))
 		return TRUE;


@@ Diff output truncated at 100000 characters. @@


--------------
This E-Mail was brought to you by github_commit_mail.py (Source: TBD).



More information about the Plugins-Commits mailing list