Mercurial > geeqie
diff 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 |
line wrap: on
line diff
--- a/src/view_dir.c Tue Mar 10 17:58:30 2009 +0000 +++ b/src/view_dir.c Tue Mar 10 22:52:12 2009 +0000 @@ -473,7 +473,7 @@ ViewDir *vd = data; DirViewType new_type = GPOINTER_TO_INT(g_object_get_data(G_OBJECT(widget), VIEW_DIR_AS_SUBMENU_KEY)); - layout_views_set(vd->layout, new_type, vd->layout->file_view_type); + layout_views_set(vd->layout, new_type, vd->layout->options.file_view_type); } static void vd_pop_menu_refresh_cb(GtkWidget *widget, gpointer data)