comparison 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
comparison
equal deleted inserted replaced
1435:8355da717c68 1436:d7a6fb7a90dd
32 guint duplicates_similarity_threshold; 32 guint duplicates_similarity_threshold;
33 33
34 gint open_recent_list_maxsize; 34 gint open_recent_list_maxsize;
35 gint dnd_icon_size; 35 gint dnd_icon_size;
36 36
37 gboolean save_window_positions;
38 gboolean tools_restore_state;
37 39
38 /* start up */ 40 /* start up */
39 struct { 41 struct {
40 gboolean restore_path; 42 gboolean restore_path;
41 gboolean use_last_path; 43 gboolean use_last_path;
143 gchar *template_string; 145 gchar *template_string;
144 gint x; 146 gint x;
145 gint y; 147 gint y;
146 } image_overlay; 148 } image_overlay;
147 149
148 /* layout */
149 /* FIXME: this is here for 2 reasons:
150 - I don't want to break preferences dialog now
151 - it might be useful as defaults for new windows (I am not sure about this)
152 */
153 LayoutOptions layout;
154
155 /* properties dialog */ 150 /* properties dialog */
156 struct { 151 struct {
157 gchar *tabs_order; 152 gchar *tabs_order;
158 } properties; 153 } properties;
159 154
206 void save_options(ConfOptions *options); 201 void save_options(ConfOptions *options);
207 gboolean load_options(ConfOptions *options); 202 gboolean load_options(ConfOptions *options);
208 203
209 void copy_layout_options(LayoutOptions *dest, const LayoutOptions *src); 204 void copy_layout_options(LayoutOptions *dest, const LayoutOptions *src);
210 void free_layout_options_content(LayoutOptions *dest); 205 void free_layout_options_content(LayoutOptions *dest);
211 206 LayoutOptions *init_layout_options(LayoutOptions *options);
212 207
213 #endif /* OPTIONS_H */ 208 #endif /* OPTIONS_H */
214 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */ 209 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */