Mercurial > geeqie
comparison src/globals.c @ 320:c74af1cbd61a
Move more options to ConfOptions.
author | zas_ |
---|---|
date | Fri, 11 Apr 2008 22:52:22 +0000 |
parents | f9611a6cf0e2 |
children | d344bcf37618 |
comparison
equal
deleted
inserted
replaced
319:f9611a6cf0e2 | 320:c74af1cbd61a |
---|---|
10 */ | 10 */ |
11 | 11 |
12 | 12 |
13 #include "main.h" | 13 #include "main.h" |
14 | 14 |
15 GList *filename_filter = NULL; | 15 #ifdef DEBUG |
16 gint debug = FALSE; | |
17 #endif | |
18 | |
16 | 19 |
17 ConfOptions *init_options(ConfOptions *options) | 20 ConfOptions *init_options(ConfOptions *options) |
18 { | 21 { |
19 if (!options) options = g_new0(ConfOptions, 1); | 22 if (!options) options = g_new0(ConfOptions, 1); |
20 | 23 |
106 | 109 |
107 options->dupe_custom_threshold = 99; | 110 options->dupe_custom_threshold = 99; |
108 | 111 |
109 options->file_sort_case_sensitive = FALSE; | 112 options->file_sort_case_sensitive = FALSE; |
110 | 113 |
114 /* layout */ | |
115 options->layout_order = NULL; | |
116 options->layout_style = 0; | |
117 | |
118 options->layout_view_icons = FALSE; | |
119 options->layout_view_tree = FALSE; | |
120 | |
121 options->show_icon_names = TRUE; | |
122 | |
123 options->tree_descend_subdirs = FALSE; | |
124 | |
125 options->lazy_image_sync = FALSE; | |
126 options->update_on_time_change = TRUE; | |
127 options->exif_rotate_enable = TRUE; | |
128 | |
129 /* color profiles */ | |
130 options->color_profile_enabled = FALSE; | |
131 options->color_profile_input_type = 0; | |
132 options->color_profile_screen_type = 0; | |
133 options->color_profile_screen_file = NULL; | |
134 options->color_profile_use_image = TRUE; | |
135 | |
136 options->filename_filter = NULL; | |
137 | |
111 return options; | 138 return options; |
112 } | 139 } |
113 | |
114 /* -- options -- */ | |
115 #ifdef DEBUG | |
116 gint debug = FALSE; | |
117 #endif | |
118 | |
119 | |
120 /* layout */ | |
121 gchar *layout_order = NULL; | |
122 gint layout_style = 0; | |
123 | |
124 gint layout_view_icons = FALSE; | |
125 gint layout_view_tree = FALSE; | |
126 | |
127 gint show_icon_names = TRUE; | |
128 | |
129 gint tree_descend_subdirs = FALSE; | |
130 | |
131 gint lazy_image_sync = FALSE; | |
132 gint update_on_time_change = TRUE; | |
133 gint exif_rotate_enable = TRUE; | |
134 | |
135 /* color profiles */ | |
136 gint color_profile_enabled = FALSE; | |
137 gint color_profile_input_type = 0; | |
138 gchar *color_profile_input_file[COLOR_PROFILE_INPUTS]; | |
139 gchar *color_profile_input_name[COLOR_PROFILE_INPUTS]; | |
140 gint color_profile_screen_type = 0; | |
141 gchar *color_profile_screen_file = NULL; | |
142 gint color_profile_use_image = TRUE; | |
143 | |
144 |