Mercurial > geeqie
annotate src/globals.c @ 285:6917ea10738c
Enable image rotation depending on EXIF by default.
New users shouldn't have to search for it.
author | zas_ |
---|---|
date | Tue, 08 Apr 2008 23:33:49 +0000 |
parents | e213fb025621 |
children | b16b9b8979e5 |
rev | line source |
---|---|
1 | 1 /* |
196 | 2 * Geeqie |
9 | 3 * (C) 2004 John Ellis |
1 | 4 * |
5 * Author: John Ellis | |
6 * | |
9 | 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! | |
1 | 10 */ |
11 | |
9 | 12 |
281 | 13 #include "main.h" |
1 | 14 |
15 | |
16 GList *filename_filter = NULL; | |
17 | |
18 /* -- options -- */ | |
9 | 19 gint main_window_w = 500; |
20 gint main_window_h = 400; | |
1 | 21 gint main_window_x = 0; |
22 gint main_window_y = 0; | |
9 | 23 gint main_window_maximized = FALSE; |
1 | 24 |
9 | 25 gint float_window_w = 260; |
26 gint float_window_h = 450; | |
1 | 27 gint float_window_x = 0; |
28 gint float_window_y = 0; | |
9 | 29 gint float_window_divider = -1; |
30 | |
31 gint window_hdivider_pos = -1; | |
32 gint window_vdivider_pos = 200; | |
1 | 33 |
34 gint save_window_positions = FALSE; | |
35 gint tools_float = FALSE; | |
36 gint tools_hidden = FALSE; | |
9 | 37 gint toolbar_hidden = FALSE; |
1 | 38 gint progressive_key_scrolling = FALSE; |
39 | |
40 gint startup_path_enable = FALSE; | |
41 gchar *startup_path = NULL; | |
42 gint confirm_delete = TRUE; | |
9 | 43 gint enable_delete_key = TRUE; |
44 gint safe_delete_enable = FALSE; | |
45 gchar *safe_delete_path = NULL; | |
223
73efc1ba150f
Setting no limit size to trash directory is now possible using zero as value.
zas_
parents:
218
diff
changeset
|
46 gint safe_delete_size = 128; |
1 | 47 gint restore_tool = FALSE; |
48 gint zoom_mode = ZOOM_RESET_ORIGINAL; | |
9 | 49 gint two_pass_zoom = TRUE; |
50 gint scroll_reset_method = SCROLL_RESET_TOPLEFT; | |
1 | 51 gint fit_window = FALSE; |
52 gint limit_window_size = FALSE; | |
9 | 53 gint zoom_to_fit_expands = TRUE; |
1 | 54 gint max_window_size = 100; |
209
ad78ad18523a
configurable frame around image - geeqie_autofit_maxsize.patch by Laurent MONIN
nadvornik
parents:
208
diff
changeset
|
55 gint limit_autofit_size = FALSE; |
ad78ad18523a
configurable frame around image - geeqie_autofit_maxsize.patch by Laurent MONIN
nadvornik
parents:
208
diff
changeset
|
56 gint max_autofit_size = 100; |
226
3c89da4aef95
Fix and simplify thumbnails size combo box related code.
zas_
parents:
223
diff
changeset
|
57 gint thumb_max_width = DEFAULT_THUMB_WIDTH; |
3c89da4aef95
Fix and simplify thumbnails size combo box related code.
zas_
parents:
223
diff
changeset
|
58 gint thumb_max_height = DEFAULT_THUMB_HEIGHT; |
9 | 59 gint enable_thumb_caching = TRUE; |
60 gint enable_thumb_dirs = FALSE; | |
1 | 61 gint use_xvpics_thumbnails = TRUE; |
14
25335c62cd9b
##### Note: GQview CVS on sourceforge is not always up to date, please use #####
gqview
parents:
9
diff
changeset
|
62 gint thumbnail_fast = TRUE; |
9 | 63 gint thumbnail_spec_standard = TRUE; |
64 gint enable_metadata_dirs = FALSE; | |
1 | 65 gint show_dot_files = FALSE; |
66 gint file_filter_disable = FALSE; | |
283 | 67 gchar *editor_name[GQ_EDITOR_SLOTS]; |
68 gchar *editor_command[GQ_EDITOR_SLOTS]; | |
1 | 69 |
70 gint thumbnails_enabled = FALSE; | |
9 | 71 SortType file_sort_method = SORT_NAME; |
72 gint file_sort_ascending = TRUE; | |
1 | 73 |
9 | 74 gint slideshow_delay = 150; |
1 | 75 gint slideshow_random = FALSE; |
76 gint slideshow_repeat = FALSE; | |
77 | |
9 | 78 gint mousewheel_scrolls = FALSE; |
79 gint enable_in_place_rename = TRUE; | |
80 | |
81 gint recent_list_max = 10; | |
82 | |
83 gint collection_rectangular_selection = FALSE; | |
84 | |
85 gint tile_cache_max = 10; | |
86 gint thumbnail_quality = (gint)GDK_INTERP_TILES; | |
87 gint zoom_quality = (gint)GDK_INTERP_BILINEAR; | |
88 gint dither_quality = (gint)GDK_RGB_DITHER_NORMAL; | |
89 | |
90 gint zoom_increment = 5; | |
91 | |
92 gint enable_read_ahead = TRUE; | |
93 | |
94 gint place_dialogs_under_mouse = FALSE; | |
95 | |
208
fa0e05f985c3
set user-defined color as image background - patch by Laurent MONIN
nadvornik
parents:
196
diff
changeset
|
96 gint user_specified_window_background = FALSE; |
fa0e05f985c3
set user-defined color as image background - patch by Laurent MONIN
nadvornik
parents:
196
diff
changeset
|
97 GdkColor window_background_color = {0, 0, 0, 0}; |
9 | 98 |
99 gint fullscreen_screen = -1; | |
100 gint fullscreen_clean_flip = FALSE; | |
101 gint fullscreen_disable_saver = TRUE; | |
102 gint fullscreen_above = FALSE; | |
218
f4a0555794a9
Customizable info overlay in fullscreen, based on the patch posted to gqview-devel list by Timo on 2007-09-10.
zas_
parents:
209
diff
changeset
|
103 gint show_fullscreen_info = TRUE; |
f4a0555794a9
Customizable info overlay in fullscreen, based on the patch posted to gqview-devel list by Timo on 2007-09-10.
zas_
parents:
209
diff
changeset
|
104 gchar *fullscreen_info = NULL; |
9 | 105 |
106 gint dupe_custom_threshold = 99; | |
4 | 107 |
227
41fc4bfc8b25
Add a debug level spinner at the end of Preferences > Advanced.
zas_
parents:
226
diff
changeset
|
108 #ifdef DEBUG |
1 | 109 gint debug = FALSE; |
227
41fc4bfc8b25
Add a debug level spinner at the end of Preferences > Advanced.
zas_
parents:
226
diff
changeset
|
110 #endif |
1 | 111 |
9 | 112 /* layout */ |
113 gchar *layout_order = NULL; | |
114 gint layout_style = 0; | |
115 | |
116 gint layout_view_icons = FALSE; | |
117 gint layout_view_tree = FALSE; | |
1 | 118 |
9 | 119 gint show_icon_names = TRUE; |
1 | 120 |
9 | 121 gint tree_descend_subdirs = FALSE; |
122 | |
123 gint lazy_image_sync = FALSE; | |
124 gint update_on_time_change = TRUE; | |
285 | 125 gint exif_rotate_enable = TRUE; |
9 | 126 |
113
55166d93498d
Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents:
14
diff
changeset
|
127 /* color profiles */ |
55166d93498d
Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents:
14
diff
changeset
|
128 gint color_profile_enabled = FALSE; |
55166d93498d
Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents:
14
diff
changeset
|
129 gint color_profile_input_type = 0; |
55166d93498d
Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents:
14
diff
changeset
|
130 gchar *color_profile_input_file[COLOR_PROFILE_INPUTS]; |
55166d93498d
Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents:
14
diff
changeset
|
131 gchar *color_profile_input_name[COLOR_PROFILE_INPUTS]; |
55166d93498d
Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents:
14
diff
changeset
|
132 gint color_profile_screen_type = 0; |
55166d93498d
Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents:
14
diff
changeset
|
133 gchar *color_profile_screen_file = NULL; |
55166d93498d
Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents:
14
diff
changeset
|
134 gint color_profile_use_image = TRUE; |
55166d93498d
Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents:
14
diff
changeset
|
135 |
55166d93498d
Fri Nov 24 21:37:01 2006 John Ellis <johne@verizon.net>
gqview
parents:
14
diff
changeset
|
136 |