comparison src/main.c @ 329:a51242c032ea

Rename file sorting options.
author zas_
date Sat, 12 Apr 2008 08:35:58 +0000
parents 049d6b00cc14
children 767b53cd9ab7
comparison
equal deleted inserted replaced
328:a742c200b2e4 329:a51242c032ea
1210 layout_geometry_get_dividers(NULL, &options->window_hdivider_pos, &options->window_vdivider_pos); 1210 layout_geometry_get_dividers(NULL, &options->window_hdivider_pos, &options->window_vdivider_pos);
1211 1211
1212 layout_views_get(NULL, &options->layout.view_as_tree, &options->layout.view_as_icons); 1212 layout_views_get(NULL, &options->layout.view_as_tree, &options->layout.view_as_icons);
1213 1213
1214 options->thumbnails_enabled = layout_thumb_get(NULL); 1214 options->thumbnails_enabled = layout_thumb_get(NULL);
1215 layout_sort_get(NULL, &options->file_sort_method, &options->file_sort_ascending); 1215 layout_sort_get(NULL, &options->file_sort.method, &options->file_sort.ascending);
1216 1216
1217 layout_geometry_get_tools(NULL, &options->float_window_x, &options->float_window_y, 1217 layout_geometry_get_tools(NULL, &options->float_window_x, &options->float_window_y,
1218 &options->float_window_w, &options->float_window_h, &options->float_window_divider); 1218 &options->float_window_w, &options->float_window_h, &options->float_window_divider);
1219 layout_tools_float_get(NULL, &options->tools_float, &options->tools_hidden); 1219 layout_tools_float_get(NULL, &options->tools_float, &options->tools_hidden);
1220 options->toolbar_hidden = layout_toolbar_hidden(NULL); 1220 options->toolbar_hidden = layout_toolbar_hidden(NULL);
1392 { 1392 {
1393 path = get_current_dir(); 1393 path = get_current_dir();
1394 } 1394 }
1395 1395
1396 lw = layout_new_with_geometry(NULL, options->tools_float, options->tools_hidden, geometry); 1396 lw = layout_new_with_geometry(NULL, options->tools_float, options->tools_hidden, geometry);
1397 layout_sort_set(lw, options->file_sort_method, options->file_sort_ascending); 1397 layout_sort_set(lw, options->file_sort.method, options->file_sort.ascending);
1398 1398
1399 if (collection_list && !startup_command_line_collection) 1399 if (collection_list && !startup_command_line_collection)
1400 { 1400 {
1401 GList *work; 1401 GList *work;
1402 1402