comparison src/view_dir.c @ 1412:5a534e1501e1

fixed saving of file_view_type
author nadvornik
date Tue, 10 Mar 2009 22:52:12 +0000
parents 249bf204004a
children 3bc4967aaa57
comparison
equal deleted inserted replaced
1411:2ebf1a80ef64 1412:5a534e1501e1
471 static void vd_pop_submenu_dir_view_as_cb(GtkWidget *widget, gpointer data) 471 static void vd_pop_submenu_dir_view_as_cb(GtkWidget *widget, gpointer data)
472 { 472 {
473 ViewDir *vd = data; 473 ViewDir *vd = data;
474 474
475 DirViewType new_type = GPOINTER_TO_INT(g_object_get_data(G_OBJECT(widget), VIEW_DIR_AS_SUBMENU_KEY)); 475 DirViewType new_type = GPOINTER_TO_INT(g_object_get_data(G_OBJECT(widget), VIEW_DIR_AS_SUBMENU_KEY));
476 layout_views_set(vd->layout, new_type, vd->layout->file_view_type); 476 layout_views_set(vd->layout, new_type, vd->layout->options.file_view_type);
477 } 477 }
478 478
479 static void vd_pop_menu_refresh_cb(GtkWidget *widget, gpointer data) 479 static void vd_pop_menu_refresh_cb(GtkWidget *widget, gpointer data)
480 { 480 {
481 ViewDir *vd = data; 481 ViewDir *vd = data;