Mercurial > geeqie.yaz
diff 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 |
line wrap: on
line diff
--- a/src/view_dir.c Sat May 03 10:31:37 2008 +0000 +++ b/src/view_dir.c Sat May 03 11:34:13 2008 +0000 @@ -458,7 +458,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->icon_view); + layout_views_set(vd->layout, new_type, vd->layout->file_view_type); } static void vd_pop_menu_refresh_cb(GtkWidget *widget, gpointer data)