3 * Copyright (C) 2008 - 2009 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;
37 gboolean save_window_positions;
38 gboolean tools_restore_state;
42 gboolean enable_in_place_rename;
44 gboolean confirm_delete;
45 gboolean enable_delete_key;
46 gboolean safe_delete_enable;
47 gchar *safe_delete_path;
48 gint safe_delete_folder_maxsize;
53 gboolean exif_rotate_enable;
54 guint scroll_reset_method;
55 gboolean fit_window_to_image;
56 gboolean limit_window_size;
58 gboolean limit_autofit_size;
59 gint max_autofit_size;
61 gint tile_cache_max; /* in megabytes */
62 gint image_cache_max; /* in megabytes */
64 gboolean enable_read_ahead;
68 gboolean zoom_to_fit_allow_expand;
70 gint zoom_increment; /* 10 is 1.0, 5 is 0.05, 20 is 2.0, etc. */
72 gint use_custom_border_color;
73 GdkColor border_color;
80 gboolean enable_caching;
81 gboolean cache_into_dirs;
84 gboolean spec_standard;
91 gboolean show_hidden_files;
92 gboolean show_dot_directory;
102 gboolean rectangular_selection;
115 gboolean case_sensitive; /* file sorting method (case) */
120 gint delay; /* in tenths of a second */
129 gboolean disable_saver;
135 gchar *template_string;
140 /* properties dialog */
149 gchar *input_file[COLOR_PROFILE_INPUTS];
150 gchar *input_name[COLOR_PROFILE_INPUTS];
157 /* Helpers programs */
167 gboolean enable_metadata_dirs;
169 gboolean save_in_image_file;
170 gboolean save_legacy_IPTC;
171 gboolean warn_on_write_problems;
173 gboolean save_legacy_format;
175 gboolean sync_grouped_files;
177 gboolean confirm_write;
178 gint confirm_timeout;
179 gboolean confirm_after_timeout;
180 gboolean confirm_on_image_change;
181 gboolean confirm_on_dir_change;
186 ConfOptions *options;
187 CommandLine *command_line;
189 ConfOptions *init_options(ConfOptions *options);
190 void setup_default_options(ConfOptions *options);
191 void save_options(ConfOptions *options);
192 gboolean load_options(ConfOptions *options);
194 void copy_layout_options(LayoutOptions *dest, const LayoutOptions *src);
195 void free_layout_options_content(LayoutOptions *dest);
196 LayoutOptions *init_layout_options(LayoutOptions *options);
198 #endif /* OPTIONS_H */
199 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */