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 tree_descend_subdirs;
29 gboolean lazy_image_sync;
30 gboolean update_on_time_change;
32 guint duplicates_similarity_threshold;
34 gint open_recent_list_maxsize;
40 gboolean restore_path;
41 gboolean use_last_path;
47 gboolean enable_in_place_rename;
49 gboolean confirm_delete;
50 gboolean enable_delete_key;
51 gboolean safe_delete_enable;
52 gchar *safe_delete_path;
53 gint safe_delete_folder_maxsize;
58 gboolean exif_rotate_enable;
59 guint scroll_reset_method;
60 gboolean fit_window_to_image;
61 gboolean limit_window_size;
63 gboolean limit_autofit_size;
64 gint max_autofit_size;
66 gint tile_cache_max; /* in megabytes */
67 gint image_cache_max; /* in megabytes */
69 gboolean enable_read_ahead;
73 gboolean zoom_to_fit_allow_expand;
75 gint zoom_increment; /* 10 is 1.0, 5 is 0.05, 20 is 2.0, etc. */
77 gint use_custom_border_color;
78 GdkColor border_color;
80 gint read_buffer_size; /* bytes to read from file per read() */
81 gint idle_read_loop_count; /* the number of bytes to read per idle call (define x image.read_buffer_size) */
88 gboolean enable_caching;
89 gboolean cache_into_dirs;
92 gboolean spec_standard;
99 gboolean show_hidden_files;
100 gboolean show_dot_directory;
110 gboolean rectangular_selection;
114 Editor editor[GQ_EDITOR_SLOTS];
126 gboolean case_sensitive; /* file sorting method (case) */
131 gint delay; /* in tenths of a second */
140 gboolean disable_saver;
146 guint last_channel_mode;
154 gboolean show_at_startup;
155 gchar *template_string;
166 DirViewType dir_view_type;
167 FileViewType file_view_type;
169 gboolean show_thumbnails;
171 gboolean show_directory_date;
196 gboolean save_window_positions;
198 gboolean tools_float;
199 gboolean tools_hidden;
200 gboolean tools_restore_state;
202 gboolean toolbar_hidden;
223 gint selection_state;
227 /* properties dialog */
236 gchar *input_file[COLOR_PROFILE_INPUTS];
237 gchar *input_name[COLOR_PROFILE_INPUTS];
244 /* Helpers programs */
252 /* Various paths and links to documentation */
260 gboolean enable_metadata_dirs;
262 gboolean save_in_image_file;
263 gboolean save_legacy_IPTC;
264 gboolean warn_on_write_problems;
266 gboolean save_legacy_format;
268 gboolean sync_grouped_files;
270 gboolean confirm_write;
271 gint confirm_timeout;
272 gboolean confirm_after_timeout;
273 gboolean confirm_on_image_change;
274 gboolean confirm_on_dir_change;
279 ConfOptions *options;
281 ConfOptions *init_options(ConfOptions *options);
282 void setup_default_options(ConfOptions *options);
283 void save_options(ConfOptions *options);
284 void load_options(ConfOptions *options);
287 #endif /* OPTIONS_H */
288 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */