comparison src/view_dir.c @ 556:fe675761d091

Replace Layout icon_view field by more generic file_view_type. Replace option layout.view_as_icons by layout.file_view_type.
author zas_
date Sat, 03 May 2008 11:34:13 +0000
parents 0717bcc4f2b7
children 905688aa2317
comparison
equal deleted inserted replaced
555:cca1c3b1b948 556:fe675761d091
456 static void vd_pop_submenu_dir_view_as_cb(GtkWidget *widget, gpointer data) 456 static void vd_pop_submenu_dir_view_as_cb(GtkWidget *widget, gpointer data)
457 { 457 {
458 ViewDir *vd = data; 458 ViewDir *vd = data;
459 459
460 DirViewType new_type = GPOINTER_TO_INT(g_object_get_data(G_OBJECT(widget), VIEW_DIR_AS_SUBMENU_KEY)); 460 DirViewType new_type = GPOINTER_TO_INT(g_object_get_data(G_OBJECT(widget), VIEW_DIR_AS_SUBMENU_KEY));
461 layout_views_set(vd->layout, new_type, vd->layout->icon_view); 461 layout_views_set(vd->layout, new_type, vd->layout->file_view_type);
462 } 462 }
463 463
464 static void vd_pop_menu_refresh_cb(GtkWidget *widget, gpointer data) 464 static void vd_pop_menu_refresh_cb(GtkWidget *widget, gpointer data)
465 { 465 {
466 ViewDir *vd = data; 466 ViewDir *vd = data;