comparison src/options.c @ 1292:4a3ae0e6f1eb

droped Preferences dialog, sidebar should replace it completely
author nadvornik
date Sat, 14 Feb 2009 20:26:30 +0000
parents 8b89e3ff286b
children 55ea4962887a
comparison
equal deleted inserted replaced
1291:50ae02a4a675 1292:4a3ae0e6f1eb
15 #include "bar_exif.h" 15 #include "bar_exif.h"
16 #include "editors.h" 16 #include "editors.h"
17 #include "filefilter.h" 17 #include "filefilter.h"
18 #include "histogram.h" /* HCHAN_RGB */ 18 #include "histogram.h" /* HCHAN_RGB */
19 #include "image-overlay.h" /* OSD_SHOW_NOTHING */ 19 #include "image-overlay.h" /* OSD_SHOW_NOTHING */
20 #include "info.h"
21 #include "layout.h" 20 #include "layout.h"
22 #include "layout_image.h" 21 #include "layout_image.h"
23 #include "rcfile.h" 22 #include "rcfile.h"
24 #include "ui_bookmark.h" 23 #include "ui_bookmark.h"
25 #include "ui_fileops.h" 24 #include "ui_fileops.h"
104 options->layout.main_window.vdivider_pos = 200; 103 options->layout.main_window.vdivider_pos = 200;
105 options->layout.main_window.w = 720; 104 options->layout.main_window.w = 720;
106 options->layout.main_window.x = 0; 105 options->layout.main_window.x = 0;
107 options->layout.main_window.y = 0; 106 options->layout.main_window.y = 0;
108 options->layout.order = NULL; 107 options->layout.order = NULL;
109 options->layout.properties_window.w = DEF_PROPERTY_WIDTH;
110 options->layout.properties_window.h = DEF_PROPERTY_HEIGHT;
111 options->layout.save_window_positions = TRUE; 108 options->layout.save_window_positions = TRUE;
112 options->layout.show_directory_date = FALSE; 109 options->layout.show_directory_date = FALSE;
113 options->layout.show_marks = FALSE; 110 options->layout.show_marks = FALSE;
114 options->layout.show_thumbnails = FALSE; 111 options->layout.show_thumbnails = FALSE;
115 options->layout.style = 0; 112 options->layout.style = 0;
195 } 192 }
196 193
197 set_default_image_overlay_template_string(&options->image_overlay.common.template_string); 194 set_default_image_overlay_template_string(&options->image_overlay.common.template_string);
198 options->sidecar.ext = g_strdup(".jpg;%raw;.xmp"); 195 options->sidecar.ext = g_strdup(".jpg;%raw;.xmp");
199 options->layout.order = g_strdup("123"); 196 options->layout.order = g_strdup("123");
200 options->properties.tabs_order = g_strdup(info_tab_default_order());
201 197
202 options->shell.path = g_strdup(GQ_DEFAULT_SHELL_PATH); 198 options->shell.path = g_strdup(GQ_DEFAULT_SHELL_PATH);
203 options->shell.options = g_strdup(GQ_DEFAULT_SHELL_OPTIONS); 199 options->shell.options = g_strdup(GQ_DEFAULT_SHELL_OPTIONS);
204 200
205 for (i = 0; ExifUIList[i].key; i++) 201 for (i = 0; ExifUIList[i].key; i++)