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;
43 gboolean restore_path;
44 gboolean use_last_path;
50 gboolean enable_in_place_rename;
52 gboolean confirm_delete;
53 gboolean enable_delete_key;
54 gboolean safe_delete_enable;
55 gchar *safe_delete_path;
56 gint safe_delete_folder_maxsize;
61 gboolean exif_rotate_enable;
62 guint scroll_reset_method;
63 gboolean fit_window_to_image;
64 gboolean limit_window_size;
66 gboolean limit_autofit_size;
67 gint max_autofit_size;
69 gint tile_cache_max; /* in megabytes */
70 gint image_cache_max; /* in megabytes */
72 gboolean enable_read_ahead;
76 gboolean zoom_to_fit_allow_expand;
78 gint zoom_increment; /* 10 is 1.0, 5 is 0.05, 20 is 2.0, etc. */
80 gint use_custom_border_color;
81 GdkColor border_color;
83 gint read_buffer_size; /* bytes to read from file per read() */
84 gint idle_read_loop_count; /* the number of bytes to read per idle call (define x image.read_buffer_size) */
91 gboolean enable_caching;
92 gboolean cache_into_dirs;
95 gboolean spec_standard;
101 gboolean show_hidden_files;
102 gboolean show_dot_directory;
108 gboolean rectangular_selection;
112 Editor editor[GQ_EDITOR_SLOTS];
124 gboolean case_sensitive; /* file sorting method (case) */
129 gint delay; /* in tenths of a second */
138 gboolean disable_saver;
144 guint last_channel_mode;
152 gboolean show_at_startup;
153 gchar *template_string;
164 DirViewType dir_view_type;
165 FileViewType file_view_type;
167 gboolean show_thumbnails;
169 gboolean show_directory_date;
194 gboolean save_window_positions;
196 gboolean tools_float;
197 gboolean tools_hidden;
198 gboolean tools_restore_state;
200 gboolean toolbar_hidden;
220 gint selection_state;
224 /* properties dialog */
233 gchar *input_file[COLOR_PROFILE_INPUTS];
234 gchar *input_name[COLOR_PROFILE_INPUTS];
241 /* Helpers programs */
250 ConfOptions *options;
252 ConfOptions *init_options(ConfOptions *options);
253 void setup_default_options(ConfOptions *options);
254 void sync_options_with_current_state(ConfOptions *options);
256 #endif /* OPTIONS_H */