comparison src/preferences.c @ 329:a51242c032ea

Rename file sorting options.
author zas_
date Sat, 12 Apr 2008 08:35:58 +0000
parents 049d6b00cc14
children 57a4ced53618
comparison
equal deleted inserted replaced
328:a742c200b2e4 329:a51242c032ea
177 options->safe_delete_path = NULL; 177 options->safe_delete_path = NULL;
178 buf = gtk_entry_get_text(GTK_ENTRY(safe_delete_path_entry)); 178 buf = gtk_entry_get_text(GTK_ENTRY(safe_delete_path_entry));
179 if (buf && strlen(buf) > 0) options->safe_delete_path = remove_trailing_slash(buf); 179 if (buf && strlen(buf) > 0) options->safe_delete_path = remove_trailing_slash(buf);
180 180
181 if (options->show_dot_files != c_options->show_dot_files) refresh = TRUE; 181 if (options->show_dot_files != c_options->show_dot_files) refresh = TRUE;
182 if (options->file_sort_case_sensitive != c_options->file_sort_case_sensitive) refresh = TRUE; 182 if (options->file_sort.case_sensitive != c_options->file_sort.case_sensitive) refresh = TRUE;
183 if (options->file_filter_disable != c_options->file_filter_disable) refresh = TRUE; 183 if (options->file_filter_disable != c_options->file_filter_disable) refresh = TRUE;
184 184
185 options->startup_path_enable = c_options->startup_path_enable; 185 options->startup_path_enable = c_options->startup_path_enable;
186 options->confirm_delete = c_options->confirm_delete; 186 options->confirm_delete = c_options->confirm_delete;
187 options->enable_delete_key = c_options->enable_delete_key; 187 options->enable_delete_key = c_options->enable_delete_key;
207 options->use_xvpics_thumbnails = c_options->use_xvpics_thumbnails; 207 options->use_xvpics_thumbnails = c_options->use_xvpics_thumbnails;
208 #endif 208 #endif
209 options->thumbnail_spec_standard = c_options->thumbnail_spec_standard; 209 options->thumbnail_spec_standard = c_options->thumbnail_spec_standard;
210 options->enable_metadata_dirs = c_options->enable_metadata_dirs; 210 options->enable_metadata_dirs = c_options->enable_metadata_dirs;
211 options->show_dot_files = c_options->show_dot_files; 211 options->show_dot_files = c_options->show_dot_files;
212 options->file_sort_case_sensitive = c_options->file_sort_case_sensitive; 212 options->file_sort.case_sensitive = c_options->file_sort.case_sensitive;
213 options->file_filter_disable = c_options->file_filter_disable; 213 options->file_filter_disable = c_options->file_filter_disable;
214 214
215 sidecar_ext_parse(gtk_entry_get_text(GTK_ENTRY(sidecar_ext_entry)), FALSE); 215 sidecar_ext_parse(gtk_entry_get_text(GTK_ENTRY(sidecar_ext_entry)), FALSE);
216 216
217 options->slideshow.random = c_options->slideshow.random; 217 options->slideshow.random = c_options->slideshow.random;
1004 group = pref_box_new(vbox, FALSE, GTK_ORIENTATION_VERTICAL, PREF_PAD_GAP); 1004 group = pref_box_new(vbox, FALSE, GTK_ORIENTATION_VERTICAL, PREF_PAD_GAP);
1005 1005
1006 pref_checkbox_new_int(group, _("Show entries that begin with a dot"), 1006 pref_checkbox_new_int(group, _("Show entries that begin with a dot"),
1007 options->show_dot_files, &c_options->show_dot_files); 1007 options->show_dot_files, &c_options->show_dot_files);
1008 pref_checkbox_new_int(group, _("Case sensitive sort"), 1008 pref_checkbox_new_int(group, _("Case sensitive sort"),
1009 options->file_sort_case_sensitive, &c_options->file_sort_case_sensitive); 1009 options->file_sort.case_sensitive, &c_options->file_sort.case_sensitive);
1010 1010
1011 ct_button = pref_checkbox_new_int(group, _("Disable File Filtering"), 1011 ct_button = pref_checkbox_new_int(group, _("Disable File Filtering"),
1012 options->file_filter_disable, &c_options->file_filter_disable); 1012 options->file_filter_disable, &c_options->file_filter_disable);
1013 1013
1014 1014