1
|
1 /*
|
9
|
2 * GQview
|
|
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
|
1
|
13 #include "gqview.h"
|
|
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;
|
|
46 gint safe_delete_size = 20;
|
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;
|
9
|
55 gint thumb_max_width = 96;
|
|
56 gint thumb_max_height = 72;
|
|
57 gint enable_thumb_caching = TRUE;
|
|
58 gint enable_thumb_dirs = FALSE;
|
1
|
59 gint use_xvpics_thumbnails = TRUE;
|
9
|
60 gint thumbnail_spec_standard = TRUE;
|
|
61 gint enable_metadata_dirs = FALSE;
|
1
|
62 gint show_dot_files = FALSE;
|
|
63 gint file_filter_disable = FALSE;
|
9
|
64 gchar *editor_name[GQVIEW_EDITOR_SLOTS];
|
|
65 gchar *editor_command[GQVIEW_EDITOR_SLOTS];
|
1
|
66
|
|
67 gint thumbnails_enabled = FALSE;
|
9
|
68 SortType file_sort_method = SORT_NAME;
|
|
69 gint file_sort_ascending = TRUE;
|
1
|
70
|
9
|
71 gint slideshow_delay = 150;
|
1
|
72 gint slideshow_random = FALSE;
|
|
73 gint slideshow_repeat = FALSE;
|
|
74
|
9
|
75 gint mousewheel_scrolls = FALSE;
|
|
76 gint enable_in_place_rename = TRUE;
|
|
77
|
|
78 gint recent_list_max = 10;
|
|
79
|
|
80 gint collection_rectangular_selection = FALSE;
|
|
81
|
|
82 gint tile_cache_max = 10;
|
|
83 gint thumbnail_quality = (gint)GDK_INTERP_TILES;
|
|
84 gint zoom_quality = (gint)GDK_INTERP_BILINEAR;
|
|
85 gint dither_quality = (gint)GDK_RGB_DITHER_NORMAL;
|
|
86
|
|
87 gint zoom_increment = 5;
|
|
88
|
|
89 gint enable_read_ahead = TRUE;
|
|
90
|
|
91 gint place_dialogs_under_mouse = FALSE;
|
|
92
|
|
93 gint black_window_background = FALSE;
|
|
94
|
|
95 gint fullscreen_screen = -1;
|
|
96 gint fullscreen_clean_flip = FALSE;
|
|
97 gint fullscreen_disable_saver = TRUE;
|
|
98 gint fullscreen_above = FALSE;
|
|
99
|
|
100 gint dupe_custom_threshold = 99;
|
4
|
101
|
1
|
102 gint debug = FALSE;
|
|
103
|
9
|
104 /* layout */
|
|
105 gchar *layout_order = NULL;
|
|
106 gint layout_style = 0;
|
|
107
|
|
108 gint layout_view_icons = FALSE;
|
|
109 gint layout_view_tree = FALSE;
|
1
|
110
|
9
|
111 gint show_icon_names = TRUE;
|
1
|
112
|
9
|
113 gint tree_descend_subdirs = FALSE;
|
|
114
|
|
115 gint lazy_image_sync = FALSE;
|
|
116 gint update_on_time_change = TRUE;
|
|
117 gint exif_rotate_enable = FALSE;
|
|
118
|