comparison src/view_file.c @ 1309:55ea4962887a

config file format changed to XML save and restore all layout windows save and restore sidebar configuration
author nadvornik
date Sun, 22 Feb 2009 15:35:37 +0000
parents 4a3ae0e6f1eb
children 79937bc55f3a
comparison
equal deleted inserted replaced
1308:2320339ca8be 1309:55ea4962887a
445 if (!vf->layout) return; 445 if (!vf->layout) return;
446 446
447 switch(vf->layout->file_view_type) 447 switch(vf->layout->file_view_type)
448 { 448 {
449 case FILEVIEW_LIST: 449 case FILEVIEW_LIST:
450 layout_views_set(vf->layout, vf->layout->dir_view_type, FILEVIEW_ICON); 450 layout_views_set(vf->layout, vf->layout->options.dir_view_type, FILEVIEW_ICON);
451 break; 451 break;
452 case FILEVIEW_ICON: 452 case FILEVIEW_ICON:
453 layout_views_set(vf->layout, vf->layout->dir_view_type, FILEVIEW_LIST); 453 layout_views_set(vf->layout, vf->layout->options.dir_view_type, FILEVIEW_LIST);
454 break; 454 break;
455 } 455 }
456 } 456 }
457 457
458 static void vf_pop_menu_refresh_cb(GtkWidget *widget, gpointer data) 458 static void vf_pop_menu_refresh_cb(GtkWidget *widget, gpointer data)