annotate src/options.h @ 1436:d7a6fb7a90dd

completely separated global and layout window options layout window configuration is available under separate menu entry
author nadvornik
date Sat, 14 Mar 2009 23:26:42 +0000
parents 4179d41d1149
children 73cecf473802
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
508
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
1 /*
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
2 * Geeqie
1284
8b89e3ff286b Add year 2009 to copyright info everywhere.
zas_
parents: 1272
diff changeset
3 * Copyright (C) 2008 - 2009 The Geeqie Team
508
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
4 *
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
5 * Authors: Vladimir Nadvornik, Laurent Monin
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
6 *
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
7 * This software is released under the GNU General Public License (GNU GPL).
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
8 * Please read the included file COPYING for more information.
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
9 * This software comes with no warranty of any kind, use at your own risk!
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
10 */
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
11
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
12 #ifndef OPTIONS_H
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
13 #define OPTIONS_H
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
14
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
15 typedef struct _ConfOptions ConfOptions;
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
16
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
17 struct _ConfOptions
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
18 {
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
19 /* ui */
870
3dd2cb78d0f9 Make better matching between options types in options.h and the rest of the code.
zas_
parents: 858
diff changeset
20 gboolean progressive_key_scrolling;
3dd2cb78d0f9 Make better matching between options types in options.h and the rest of the code.
zas_
parents: 858
diff changeset
21 gboolean place_dialogs_under_mouse;
736
a7289f9e8d29 Fix signed vs unsigned warnings.
zas_
parents: 730
diff changeset
22 gboolean mousewheel_scrolls;
870
3dd2cb78d0f9 Make better matching between options types in options.h and the rest of the code.
zas_
parents: 858
diff changeset
23 gboolean show_icon_names;
3dd2cb78d0f9 Make better matching between options types in options.h and the rest of the code.
zas_
parents: 858
diff changeset
24 gboolean show_copy_path;
508
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
25
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
26 /* various */
870
3dd2cb78d0f9 Make better matching between options types in options.h and the rest of the code.
zas_
parents: 858
diff changeset
27 gboolean tree_descend_subdirs;
508
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
28
870
3dd2cb78d0f9 Make better matching between options types in options.h and the rest of the code.
zas_
parents: 858
diff changeset
29 gboolean lazy_image_sync;
3dd2cb78d0f9 Make better matching between options types in options.h and the rest of the code.
zas_
parents: 858
diff changeset
30 gboolean update_on_time_change;
508
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
31
870
3dd2cb78d0f9 Make better matching between options types in options.h and the rest of the code.
zas_
parents: 858
diff changeset
32 guint duplicates_similarity_threshold;
508
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
33
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
34 gint open_recent_list_maxsize;
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
35 gint dnd_icon_size;
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
36
1436
d7a6fb7a90dd completely separated global and layout window options
nadvornik
parents: 1336
diff changeset
37 gboolean save_window_positions;
d7a6fb7a90dd completely separated global and layout window options
nadvornik
parents: 1336
diff changeset
38 gboolean tools_restore_state;
594
4cfce4ed35e0 Use a dedicated option to enable keywords and comment saving as XMP tags
zas_
parents: 556
diff changeset
39
884
ff16ed0d2c8a Improve ways to specify html browser (used for help, see bug 2015099).
zas_
parents: 870
diff changeset
40 /* start up */
629
1fa2cb6d9d65 Rename options:
zas_
parents: 618
diff changeset
41 struct {
1fa2cb6d9d65 Rename options:
zas_
parents: 618
diff changeset
42 gboolean restore_path;
630
83d3ded39e49 An option to save and restore the last path used was added.
zas_
parents: 629
diff changeset
43 gboolean use_last_path;
629
1fa2cb6d9d65 Rename options:
zas_
parents: 618
diff changeset
44 gchar *path;
1fa2cb6d9d65 Rename options:
zas_
parents: 618
diff changeset
45 } startup;
1fa2cb6d9d65 Rename options:
zas_
parents: 618
diff changeset
46
508
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
47 /* file ops */
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
48 struct {
870
3dd2cb78d0f9 Make better matching between options types in options.h and the rest of the code.
zas_
parents: 858
diff changeset
49 gboolean enable_in_place_rename;
508
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
50
870
3dd2cb78d0f9 Make better matching between options types in options.h and the rest of the code.
zas_
parents: 858
diff changeset
51 gboolean confirm_delete;
3dd2cb78d0f9 Make better matching between options types in options.h and the rest of the code.
zas_
parents: 858
diff changeset
52 gboolean enable_delete_key;
3dd2cb78d0f9 Make better matching between options types in options.h and the rest of the code.
zas_
parents: 858
diff changeset
53 gboolean safe_delete_enable;
508
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
54 gchar *safe_delete_path;
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
55 gint safe_delete_folder_maxsize;
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
56 } file_ops;
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
57
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
58 /* image */
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
59 struct {
858
171dd6e53656 Use stricter types for image options.
zas_
parents: 848
diff changeset
60 gboolean exif_rotate_enable;
171dd6e53656 Use stricter types for image options.
zas_
parents: 848
diff changeset
61 guint scroll_reset_method;
171dd6e53656 Use stricter types for image options.
zas_
parents: 848
diff changeset
62 gboolean fit_window_to_image;
171dd6e53656 Use stricter types for image options.
zas_
parents: 848
diff changeset
63 gboolean limit_window_size;
508
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
64 gint max_window_size;
858
171dd6e53656 Use stricter types for image options.
zas_
parents: 848
diff changeset
65 gboolean limit_autofit_size;
508
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
66 gint max_autofit_size;
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
67
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
68 gint tile_cache_max; /* in megabytes */
848
e1d158ac6d36 cache size made configurable
nadvornik
parents: 825
diff changeset
69 gint image_cache_max; /* in megabytes */
870
3dd2cb78d0f9 Make better matching between options types in options.h and the rest of the code.
zas_
parents: 858
diff changeset
70 guint dither_quality;
858
171dd6e53656 Use stricter types for image options.
zas_
parents: 848
diff changeset
71 gboolean enable_read_ahead;
508
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
72
885
ad420f2eb789 Use a specific enum for image.zoom_mode values (ZoomMode) and
zas_
parents: 884
diff changeset
73 ZoomMode zoom_mode;
858
171dd6e53656 Use stricter types for image options.
zas_
parents: 848
diff changeset
74 gboolean zoom_2pass;
171dd6e53656 Use stricter types for image options.
zas_
parents: 848
diff changeset
75 gboolean zoom_to_fit_allow_expand;
870
3dd2cb78d0f9 Make better matching between options types in options.h and the rest of the code.
zas_
parents: 858
diff changeset
76 guint zoom_quality;
508
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
77 gint zoom_increment; /* 10 is 1.0, 5 is 0.05, 20 is 2.0, etc. */
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
78
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
79 gint use_custom_border_color;
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
80 GdkColor border_color;
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
81
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
82 gint read_buffer_size; /* bytes to read from file per read() */
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
83 gint idle_read_loop_count; /* the number of bytes to read per idle call (define x image.read_buffer_size) */
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
84 } image;
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
85
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
86 /* thumbnails */
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
87 struct {
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
88 gint max_width;
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
89 gint max_height;
870
3dd2cb78d0f9 Make better matching between options types in options.h and the rest of the code.
zas_
parents: 858
diff changeset
90 gboolean enable_caching;
3dd2cb78d0f9 Make better matching between options types in options.h and the rest of the code.
zas_
parents: 858
diff changeset
91 gboolean cache_into_dirs;
3dd2cb78d0f9 Make better matching between options types in options.h and the rest of the code.
zas_
parents: 858
diff changeset
92 gboolean fast;
3dd2cb78d0f9 Make better matching between options types in options.h and the rest of the code.
zas_
parents: 858
diff changeset
93 gboolean use_xvpics;
3dd2cb78d0f9 Make better matching between options types in options.h and the rest of the code.
zas_
parents: 858
diff changeset
94 gboolean spec_standard;
3dd2cb78d0f9 Make better matching between options types in options.h and the rest of the code.
zas_
parents: 858
diff changeset
95 guint quality;
1060
1e2de04c6fc4 added option to use exif thumbnails
nadvornik
parents: 1055
diff changeset
96 gboolean use_exif;
508
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
97 } thumbnails;
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
98
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
99 /* file filtering */
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
100 struct {
870
3dd2cb78d0f9 Make better matching between options types in options.h and the rest of the code.
zas_
parents: 858
diff changeset
101 gboolean show_hidden_files;
3dd2cb78d0f9 Make better matching between options types in options.h and the rest of the code.
zas_
parents: 858
diff changeset
102 gboolean show_dot_directory;
3dd2cb78d0f9 Make better matching between options types in options.h and the rest of the code.
zas_
parents: 858
diff changeset
103 gboolean disable;
508
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
104 } file_filter;
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
105
1229
878718372aca sidecar files grouping was made case-insensitive
nadvornik
parents: 1208
diff changeset
106 struct {
878718372aca sidecar files grouping was made case-insensitive
nadvornik
parents: 1208
diff changeset
107 gchar *ext;
878718372aca sidecar files grouping was made case-insensitive
nadvornik
parents: 1208
diff changeset
108 } sidecar;
878718372aca sidecar files grouping was made case-insensitive
nadvornik
parents: 1208
diff changeset
109
508
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
110 /* collections */
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
111 struct {
870
3dd2cb78d0f9 Make better matching between options types in options.h and the rest of the code.
zas_
parents: 858
diff changeset
112 gboolean rectangular_selection;
508
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
113 } collections;
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
114
737
8a8873e7a552 Make shell command and its option rc file options instead of hardcoded strings.
zas_
parents: 736
diff changeset
115 /* shell */
8a8873e7a552 Make shell command and its option rc file options instead of hardcoded strings.
zas_
parents: 736
diff changeset
116 struct {
8a8873e7a552 Make shell command and its option rc file options instead of hardcoded strings.
zas_
parents: 736
diff changeset
117 gchar *path;
8a8873e7a552 Make shell command and its option rc file options instead of hardcoded strings.
zas_
parents: 736
diff changeset
118 gchar *options;
8a8873e7a552 Make shell command and its option rc file options instead of hardcoded strings.
zas_
parents: 736
diff changeset
119 } shell;
8a8873e7a552 Make shell command and its option rc file options instead of hardcoded strings.
zas_
parents: 736
diff changeset
120
508
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
121 /* file sorting */
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
122 struct {
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
123 SortType method;
870
3dd2cb78d0f9 Make better matching between options types in options.h and the rest of the code.
zas_
parents: 858
diff changeset
124 gboolean ascending;
3dd2cb78d0f9 Make better matching between options types in options.h and the rest of the code.
zas_
parents: 858
diff changeset
125 gboolean case_sensitive; /* file sorting method (case) */
508
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
126 } file_sort;
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
127
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
128 /* slideshow */
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
129 struct {
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
130 gint delay; /* in tenths of a second */
870
3dd2cb78d0f9 Make better matching between options types in options.h and the rest of the code.
zas_
parents: 858
diff changeset
131 gboolean random;
3dd2cb78d0f9 Make better matching between options types in options.h and the rest of the code.
zas_
parents: 858
diff changeset
132 gboolean repeat;
508
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
133 } slideshow;
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
134
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
135 /* fullscreen */
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
136 struct {
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
137 gint screen;
870
3dd2cb78d0f9 Make better matching between options types in options.h and the rest of the code.
zas_
parents: 858
diff changeset
138 gboolean clean_flip;
3dd2cb78d0f9 Make better matching between options types in options.h and the rest of the code.
zas_
parents: 858
diff changeset
139 gboolean disable_saver;
3dd2cb78d0f9 Make better matching between options types in options.h and the rest of the code.
zas_
parents: 858
diff changeset
140 gboolean above;
508
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
141 } fullscreen;
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
142
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
143 /* image overlay */
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
144 struct {
1336
4179d41d1149 fixed overlay configuration
nadvornik
parents: 1329
diff changeset
145 gchar *template_string;
4179d41d1149 fixed overlay configuration
nadvornik
parents: 1329
diff changeset
146 gint x;
4179d41d1149 fixed overlay configuration
nadvornik
parents: 1329
diff changeset
147 gint y;
508
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
148 } image_overlay;
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
149
684
9f00d0d874fa Save order of Properties dialog tabs to rc file.
zas_
parents: 638
diff changeset
150 /* properties dialog */
9f00d0d874fa Save order of Properties dialog tabs to rc file.
zas_
parents: 638
diff changeset
151 struct {
9f00d0d874fa Save order of Properties dialog tabs to rc file.
zas_
parents: 638
diff changeset
152 gchar *tabs_order;
9f00d0d874fa Save order of Properties dialog tabs to rc file.
zas_
parents: 638
diff changeset
153 } properties;
508
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
154
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
155 /* color profiles */
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
156 struct {
870
3dd2cb78d0f9 Make better matching between options types in options.h and the rest of the code.
zas_
parents: 858
diff changeset
157 gboolean enabled;
508
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
158 gint input_type;
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
159 gchar *input_file[COLOR_PROFILE_INPUTS];
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
160 gchar *input_name[COLOR_PROFILE_INPUTS];
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
161 gint screen_type;
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
162 gchar *screen_file;
870
3dd2cb78d0f9 Make better matching between options types in options.h and the rest of the code.
zas_
parents: 858
diff changeset
163 gboolean use_image;
508
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
164
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
165 } color_profile;
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
166
884
ff16ed0d2c8a Improve ways to specify html browser (used for help, see bug 2015099).
zas_
parents: 870
diff changeset
167 /* Helpers programs */
ff16ed0d2c8a Improve ways to specify html browser (used for help, see bug 2015099).
zas_
parents: 870
diff changeset
168 struct {
ff16ed0d2c8a Improve ways to specify html browser (used for help, see bug 2015099).
zas_
parents: 870
diff changeset
169 struct {
ff16ed0d2c8a Improve ways to specify html browser (used for help, see bug 2015099).
zas_
parents: 870
diff changeset
170 gchar *command_name;
ff16ed0d2c8a Improve ways to specify html browser (used for help, see bug 2015099).
zas_
parents: 870
diff changeset
171 gchar *command_line;
ff16ed0d2c8a Improve ways to specify html browser (used for help, see bug 2015099).
zas_
parents: 870
diff changeset
172 } html_browser;
ff16ed0d2c8a Improve ways to specify html browser (used for help, see bug 2015099).
zas_
parents: 870
diff changeset
173 } helpers;
1013
88ebc61e33ae Allow to override documentation paths through options:
zas_
parents: 980
diff changeset
174
1208
c45cc5cf3c4d added options for metadata - not yet used
nadvornik
parents: 1060
diff changeset
175 /* Metadata */
c45cc5cf3c4d added options for metadata - not yet used
nadvornik
parents: 1060
diff changeset
176 struct {
c45cc5cf3c4d added options for metadata - not yet used
nadvornik
parents: 1060
diff changeset
177 gboolean enable_metadata_dirs;
c45cc5cf3c4d added options for metadata - not yet used
nadvornik
parents: 1060
diff changeset
178
c45cc5cf3c4d added options for metadata - not yet used
nadvornik
parents: 1060
diff changeset
179 gboolean save_in_image_file;
c45cc5cf3c4d added options for metadata - not yet used
nadvornik
parents: 1060
diff changeset
180 gboolean save_legacy_IPTC;
c45cc5cf3c4d added options for metadata - not yet used
nadvornik
parents: 1060
diff changeset
181 gboolean warn_on_write_problems;
c45cc5cf3c4d added options for metadata - not yet used
nadvornik
parents: 1060
diff changeset
182
c45cc5cf3c4d added options for metadata - not yet used
nadvornik
parents: 1060
diff changeset
183 gboolean save_legacy_format;
c45cc5cf3c4d added options for metadata - not yet used
nadvornik
parents: 1060
diff changeset
184
c45cc5cf3c4d added options for metadata - not yet used
nadvornik
parents: 1060
diff changeset
185 gboolean sync_grouped_files;
c45cc5cf3c4d added options for metadata - not yet used
nadvornik
parents: 1060
diff changeset
186
c45cc5cf3c4d added options for metadata - not yet used
nadvornik
parents: 1060
diff changeset
187 gboolean confirm_write;
c45cc5cf3c4d added options for metadata - not yet used
nadvornik
parents: 1060
diff changeset
188 gint confirm_timeout;
1244
b2d98b7c26c1 improved metadata preferences
nadvornik
parents: 1229
diff changeset
189 gboolean confirm_after_timeout;
1208
c45cc5cf3c4d added options for metadata - not yet used
nadvornik
parents: 1060
diff changeset
190 gboolean confirm_on_image_change;
c45cc5cf3c4d added options for metadata - not yet used
nadvornik
parents: 1060
diff changeset
191 gboolean confirm_on_dir_change;
c45cc5cf3c4d added options for metadata - not yet used
nadvornik
parents: 1060
diff changeset
192 } metadata;
c45cc5cf3c4d added options for metadata - not yet used
nadvornik
parents: 1060
diff changeset
193
508
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
194 };
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
195
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
196 ConfOptions *options;
1313
1ffa5222dc61 enabled commandline again
nadvornik
parents: 1309
diff changeset
197 CommandLine *command_line;
508
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
198
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
199 ConfOptions *init_options(ConfOptions *options);
740
9b0ac8d58c89 Move setup_default_options() and sync_options_with_current_state() to options.[ch].
zas_
parents: 737
diff changeset
200 void setup_default_options(ConfOptions *options);
1019
4aa1a6235458 Move save/load_options() to options.[ch].
zas_
parents: 1013
diff changeset
201 void save_options(ConfOptions *options);
1313
1ffa5222dc61 enabled commandline again
nadvornik
parents: 1309
diff changeset
202 gboolean load_options(ConfOptions *options);
1019
4aa1a6235458 Move save/load_options() to options.[ch].
zas_
parents: 1013
diff changeset
203
1309
55ea4962887a config file format changed to XML
nadvornik
parents: 1284
diff changeset
204 void copy_layout_options(LayoutOptions *dest, const LayoutOptions *src);
55ea4962887a config file format changed to XML
nadvornik
parents: 1284
diff changeset
205 void free_layout_options_content(LayoutOptions *dest);
1436
d7a6fb7a90dd completely separated global and layout window options
nadvornik
parents: 1336
diff changeset
206 LayoutOptions *init_layout_options(LayoutOptions *options);
508
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
207
011a6be611c8 Move options stuff to options.{c,h} and remove globals.c
zas_
parents:
diff changeset
208 #endif /* OPTIONS_H */
1055
1646720364cf Adding a vim modeline to all files - patch by Klaus Ethgen
nadvornik
parents: 1019
diff changeset
209 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */