diff src/preferences.c @ 356:673d1eb5af73

Rename show_dot_files to show_hidden_files. There is no need to expose the underlying method to hide files.
author zas_
date Sun, 13 Apr 2008 19:21:13 +0000
parents 5c82855feba7
children 61a3c8b05b24
line wrap: on
line diff
--- a/src/preferences.c	Sun Apr 13 18:56:24 2008 +0000
+++ b/src/preferences.c	Sun Apr 13 19:21:13 2008 +0000
@@ -178,7 +178,7 @@
 	buf = gtk_entry_get_text(GTK_ENTRY(safe_delete_path_entry));
 	if (buf && strlen(buf) > 0) options->file_ops.safe_delete_path = remove_trailing_slash(buf);
 
-	if (options->file_filter.show_dot_files != c_options->file_filter.show_dot_files) refresh = TRUE;
+	if (options->file_filter.show_hidden_files != c_options->file_filter.show_hidden_files) refresh = TRUE;
 	if (options->file_sort.case_sensitive != c_options->file_sort.case_sensitive) refresh = TRUE;
 	if (options->file_filter.disable != c_options->file_filter.disable) refresh = TRUE;
 
@@ -208,7 +208,7 @@
 #endif
 	options->thumbnails.spec_standard = c_options->thumbnails.spec_standard;
 	options->enable_metadata_dirs = c_options->enable_metadata_dirs;
-	options->file_filter.show_dot_files = c_options->file_filter.show_dot_files;
+	options->file_filter.show_hidden_files = c_options->file_filter.show_hidden_files;
 	options->file_sort.case_sensitive = c_options->file_sort.case_sensitive;
 	options->file_filter.disable = c_options->file_filter.disable;
 
@@ -1029,8 +1029,8 @@
 
 	group = pref_box_new(vbox, FALSE, GTK_ORIENTATION_VERTICAL, PREF_PAD_GAP);
 
-	pref_checkbox_new_int(group, _("Show entries that begin with a dot"),
-			      options->file_filter.show_dot_files, &c_options->file_filter.show_dot_files);
+	pref_checkbox_new_int(group, _("Show hidden files or folders"),
+			      options->file_filter.show_hidden_files, &c_options->file_filter.show_hidden_files);
 	pref_checkbox_new_int(group, _("Case sensitive sort"),
 			      options->file_sort.case_sensitive, &c_options->file_sort.case_sensitive);