comparison src/options.c @ 1034:210c86b914ce

adjusted default options
author nadvornik
date Wed, 03 Sep 2008 20:43:10 +0000
parents 4aa1a6235458
children 86148ec8a299
comparison
equal deleted inserted replaced
1033:8db1017c4ca0 1034:210c86b914ce
29 { 29 {
30 if (!options) options = g_new0(ConfOptions, 1); 30 if (!options) options = g_new0(ConfOptions, 1);
31 31
32 options->collections.rectangular_selection = FALSE; 32 options->collections.rectangular_selection = FALSE;
33 33
34 options->color_profile.enabled = FALSE; 34 options->color_profile.enabled = TRUE;
35 options->color_profile.input_type = 0; 35 options->color_profile.input_type = 0;
36 options->color_profile.screen_file = NULL; 36 options->color_profile.screen_file = NULL;
37 options->color_profile.screen_type = 0; 37 options->color_profile.screen_type = 0;
38 options->color_profile.use_image = TRUE; 38 options->color_profile.use_image = TRUE;
39 39
71 options->image.enable_read_ahead = TRUE; 71 options->image.enable_read_ahead = TRUE;
72 options->image.exif_rotate_enable = TRUE; 72 options->image.exif_rotate_enable = TRUE;
73 options->image.fit_window_to_image = FALSE; 73 options->image.fit_window_to_image = FALSE;
74 options->image.idle_read_loop_count = IMAGE_LOADER_IDLE_READ_LOOP_COUNT_DEFAULT; 74 options->image.idle_read_loop_count = IMAGE_LOADER_IDLE_READ_LOOP_COUNT_DEFAULT;
75 options->image.limit_autofit_size = FALSE; 75 options->image.limit_autofit_size = FALSE;
76 options->image.limit_window_size = FALSE; 76 options->image.limit_window_size = TRUE;
77 options->image.max_autofit_size = 100; 77 options->image.max_autofit_size = 100;
78 options->image.max_window_size = 100; 78 options->image.max_window_size = 90;
79 options->image.read_buffer_size = IMAGE_LOADER_READ_BUFFER_SIZE_DEFAULT; 79 options->image.read_buffer_size = IMAGE_LOADER_READ_BUFFER_SIZE_DEFAULT;
80 options->image.scroll_reset_method = SCROLL_RESET_TOPLEFT; 80 options->image.scroll_reset_method = SCROLL_RESET_TOPLEFT;
81 options->image.tile_cache_max = 10; 81 options->image.tile_cache_max = 10;
82 options->image.image_cache_max = 128; /* 4 x 10MPix */ 82 options->image.image_cache_max = 128; /* 4 x 10MPix */
83 options->image.use_custom_border_color = FALSE; 83 options->image.use_custom_border_color = FALSE;
84 options->image.zoom_2pass = TRUE; 84 options->image.zoom_2pass = TRUE;
85 options->image.zoom_increment = 5; 85 options->image.zoom_increment = 5;
86 options->image.zoom_mode = ZOOM_RESET_ORIGINAL; 86 options->image.zoom_mode = ZOOM_RESET_NONE;
87 options->image.zoom_quality = GDK_INTERP_BILINEAR; 87 options->image.zoom_quality = GDK_INTERP_BILINEAR;
88 options->image.zoom_to_fit_allow_expand = TRUE; 88 options->image.zoom_to_fit_allow_expand = FALSE;
89 89
90 options->image_overlay.common.state = OSD_SHOW_NOTHING; 90 options->image_overlay.common.state = OSD_SHOW_NOTHING;
91 options->image_overlay.common.show_at_startup = FALSE; 91 options->image_overlay.common.show_at_startup = FALSE;
92 options->image_overlay.common.template_string = NULL; 92 options->image_overlay.common.template_string = NULL;
93 options->image_overlay.common.x = 10; 93 options->image_overlay.common.x = 10;
99 options->layout.float_window.vdivider_pos = -1; 99 options->layout.float_window.vdivider_pos = -1;
100 options->layout.float_window.w = 260; 100 options->layout.float_window.w = 260;
101 options->layout.float_window.x = 0; 101 options->layout.float_window.x = 0;
102 options->layout.float_window.y = 0; 102 options->layout.float_window.y = 0;
103 options->layout.home_path = NULL; 103 options->layout.home_path = NULL;
104 options->layout.main_window.h = 400; 104 options->layout.main_window.h = 540;
105 options->layout.main_window.hdivider_pos = -1; 105 options->layout.main_window.hdivider_pos = -1;
106 options->layout.main_window.maximized = FALSE; 106 options->layout.main_window.maximized = FALSE;
107 options->layout.main_window.vdivider_pos = 200; 107 options->layout.main_window.vdivider_pos = 200;
108 options->layout.main_window.w = 500; 108 options->layout.main_window.w = 720;
109 options->layout.main_window.x = 0; 109 options->layout.main_window.x = 0;
110 options->layout.main_window.y = 0; 110 options->layout.main_window.y = 0;
111 options->layout.order = NULL; 111 options->layout.order = NULL;
112 options->layout.properties_window.w = DEF_PROPERTY_WIDTH; 112 options->layout.properties_window.w = DEF_PROPERTY_WIDTH;
113 options->layout.properties_window.h = DEF_PROPERTY_HEIGHT; 113 options->layout.properties_window.h = DEF_PROPERTY_HEIGHT;
114 options->layout.save_window_positions = FALSE; 114 options->layout.save_window_positions = TRUE;
115 options->layout.show_directory_date = FALSE; 115 options->layout.show_directory_date = FALSE;
116 options->layout.show_marks = FALSE; 116 options->layout.show_marks = FALSE;
117 options->layout.show_thumbnails = FALSE; 117 options->layout.show_thumbnails = FALSE;
118 options->layout.style = 0; 118 options->layout.style = 0;
119 options->layout.toolbar_hidden = FALSE; 119 options->layout.toolbar_hidden = FALSE;
120 options->layout.tools_float = FALSE; 120 options->layout.tools_float = FALSE;
121 options->layout.tools_hidden = FALSE; 121 options->layout.tools_hidden = FALSE;
122 options->layout.tools_restore_state = FALSE; 122 options->layout.tools_restore_state = TRUE;
123 123
124 options->lazy_image_sync = FALSE; 124 options->lazy_image_sync = FALSE;
125 options->mousewheel_scrolls = FALSE; 125 options->mousewheel_scrolls = FALSE;
126 options->open_recent_list_maxsize = 10; 126 options->open_recent_list_maxsize = 10;
127 options->place_dialogs_under_mouse = FALSE; 127 options->place_dialogs_under_mouse = FALSE;
133 options->panels.sort.action_state = 0; 133 options->panels.sort.action_state = 0;
134 options->panels.sort.enabled = FALSE; 134 options->panels.sort.enabled = FALSE;
135 options->panels.sort.mode_state = 0; 135 options->panels.sort.mode_state = 0;
136 options->panels.sort.selection_state = 0; 136 options->panels.sort.selection_state = 0;
137 137
138 options->progressive_key_scrolling = FALSE; 138 options->progressive_key_scrolling = TRUE;
139 139
140 options->save_metadata_in_image_file = FALSE; 140 options->save_metadata_in_image_file = FALSE;
141 141
142 options->show_copy_path = FALSE; 142 options->show_copy_path = TRUE;
143 options->show_icon_names = TRUE; 143 options->show_icon_names = TRUE;
144 144
145 options->slideshow.delay = 150; 145 options->slideshow.delay = 50;
146 options->slideshow.random = FALSE; 146 options->slideshow.random = FALSE;
147 options->slideshow.repeat = FALSE; 147 options->slideshow.repeat = FALSE;
148 148
149 options->startup.path = NULL; 149 options->startup.path = NULL;
150 options->startup.restore_path = FALSE; 150 options->startup.restore_path = FALSE;