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;
20 gboolean progressive_key_scrolling;
21 gboolean place_dialogs_under_mouse;
22 gboolean mousewheel_scrolls;
23 gboolean show_icon_names;
24 gboolean show_copy_path;
27 gboolean enable_metadata_dirs;
29 gboolean tree_descend_subdirs;
31 gboolean lazy_image_sync;
32 gboolean update_on_time_change;
34 guint duplicates_similarity_threshold;
36 gint open_recent_list_maxsize;
39 gboolean save_metadata_in_image_file;
42 gboolean restore_path;
43 gboolean use_last_path;
49 gboolean enable_in_place_rename;
51 gboolean confirm_delete;
52 gboolean enable_delete_key;
53 gboolean safe_delete_enable;
54 gchar *safe_delete_path;
55 gint safe_delete_folder_maxsize;
60 gboolean exif_rotate_enable;
61 guint scroll_reset_method;
62 gboolean fit_window_to_image;
63 gboolean limit_window_size;
65 gboolean limit_autofit_size;
66 gint max_autofit_size;
68 gint tile_cache_max; /* in megabytes */
69 gint image_cache_max; /* in megabytes */
71 gboolean enable_read_ahead;
75 gboolean 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) */
90 gboolean enable_caching;
91 gboolean cache_into_dirs;
94 gboolean spec_standard;
100 gboolean show_hidden_files;
101 gboolean show_dot_directory;
107 gboolean rectangular_selection;
111 Editor editor[GQ_EDITOR_SLOTS];
123 gboolean case_sensitive; /* file sorting method (case) */
128 gint delay; /* in tenths of a second */
137 gboolean disable_saver;
143 guint last_channel_mode;
151 gboolean show_at_startup;
152 gchar *template_string;
163 DirViewType dir_view_type;
164 FileViewType file_view_type;
166 gboolean show_thumbnails;
168 gboolean show_directory_date;
193 gboolean save_window_positions;
195 gboolean tools_float;
196 gboolean tools_hidden;
197 gboolean tools_restore_state;
199 gboolean toolbar_hidden;
219 gint selection_state;
223 /* properties dialog */
232 gchar *input_file[COLOR_PROFILE_INPUTS];
233 gchar *input_name[COLOR_PROFILE_INPUTS];
242 ConfOptions *options;
244 ConfOptions *init_options(ConfOptions *options);
245 void setup_default_options(ConfOptions *options);
246 void sync_options_with_current_state(ConfOptions *options);
248 #endif /* OPTIONS_H */