3 * Copyright (C) 2008 The Geeqie Team
5 * Authors: Vladimir Nadvornik, Laurent Monin
7 * This software is released under the GNU General Public License (GNU GPL).
8 * Please read the included file COPYING for more information.
9 * This software comes with no warranty of any kind, use at your own risk!
15 typedef struct _ConfOptions ConfOptions;
21 gint progressive_key_scrolling;
22 gint place_dialogs_under_mouse;
23 gboolean mousewheel_scrolls;
28 gint enable_metadata_dirs;
30 gint tree_descend_subdirs;
33 gint update_on_time_change;
35 gint duplicates_similarity_threshold;
37 gint open_recent_list_maxsize;
40 gint save_metadata_in_image_file;
43 gboolean restore_path;
44 gboolean use_last_path;
50 gint enable_in_place_rename;
53 gint enable_delete_key;
54 gint safe_delete_enable;
55 gchar *safe_delete_path;
56 gint safe_delete_folder_maxsize;
61 gint exif_rotate_enable;
62 gint scroll_reset_method;
63 gint fit_window_to_image;
64 gint limit_window_size;
66 gint limit_autofit_size;
67 gint max_autofit_size;
69 gint tile_cache_max; /* in megabytes */
71 gint enable_read_ahead;
75 gint zoom_to_fit_allow_expand;
77 gint zoom_increment; /* 10 is 1.0, 5 is 0.05, 20 is 2.0, etc. */
79 gint use_custom_border_color;
80 GdkColor border_color;
82 gint read_buffer_size; /* bytes to read from file per read() */
83 gint idle_read_loop_count; /* the number of bytes to read per idle call (define x image.read_buffer_size) */
100 gint show_hidden_files;
101 gint show_dot_directory;
107 gint rectangular_selection;
111 Editor editor[GQ_EDITOR_SLOTS];
123 gint case_sensitive; /* file sorting method (case) */
128 gint delay; /* in tenths of a second */
143 guint last_channel_mode;
151 gint show_at_startup;
152 gchar *template_string;
161 DirViewType dir_view_type;
162 FileViewType file_view_type;
164 gint show_thumbnails;
190 gint save_window_positions;
194 gint tools_restore_state;
216 gint selection_state;
220 /* properties dialog */
229 gchar *input_file[COLOR_PROFILE_INPUTS];
230 gchar *input_name[COLOR_PROFILE_INPUTS];
239 ConfOptions *options;
241 ConfOptions *init_options(ConfOptions *options);
242 void setup_default_options(ConfOptions *options);
243 void sync_options_with_current_state(ConfOptions *options);
245 #endif /* OPTIONS_H */