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 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) */
101 gint show_hidden_files;
102 gint show_dot_directory;
108 gint rectangular_selection;
112 Editor editor[GQ_EDITOR_SLOTS];
124 gint case_sensitive; /* file sorting method (case) */
129 gint delay; /* in tenths of a second */
144 guint last_channel_mode;
152 gint show_at_startup;
153 gchar *template_string;
164 DirViewType dir_view_type;
165 FileViewType file_view_type;
167 gint show_thumbnails;
169 gboolean show_directory_date;
194 gint save_window_positions;
198 gint tools_restore_state;
220 gint selection_state;
224 /* properties dialog */
233 gchar *input_file[COLOR_PROFILE_INPUTS];
234 gchar *input_name[COLOR_PROFILE_INPUTS];
243 ConfOptions *options;
245 ConfOptions *init_options(ConfOptions *options);
246 void setup_default_options(ConfOptions *options);
247 void sync_options_with_current_state(ConfOptions *options);
249 #endif /* OPTIONS_H */