diff src/rcfile.c @ 373:61a3c8b05b24

Add a new option in Preferences > Filtering to allow the user to choose to display '.' directory in folder lists or not. This option is saved to rc file as file_filter.show_dot_directory. A minor fix was made to disable display of .. in folder selection dialogs when current path is /.
author zas_
date Tue, 15 Apr 2008 20:36:11 +0000
parents 8ce8d565c038
children 9c89fc358c16
line wrap: on
line diff
--- a/src/rcfile.c	Tue Apr 15 20:00:27 2008 +0000
+++ b/src/rcfile.c	Tue Apr 15 20:36:11 2008 +0000
@@ -433,6 +433,7 @@
 	WRITE_SUBTITLE("Filtering Options");
 
 	WRITE_BOOL(file_filter.show_hidden_files);
+	WRITE_BOOL(file_filter.show_dot_directory);
 	WRITE_BOOL(file_filter.disable);
 	WRITE_SEPARATOR();
 
@@ -706,6 +707,7 @@
 		/* filtering options */
 
 		READ_BOOL(file_filter.show_hidden_files);
+		READ_BOOL(file_filter.show_dot_directory);
 		READ_BOOL(file_filter.disable);
 
 		if (strcasecmp(option, "file_filter.ext") == 0)