From 949d8768c05c15dea7d17ddedb1080df7ef03e33 Mon Sep 17 00:00:00 2001 From: Thomas Leonard Date: Sat, 8 Jun 2002 13:12:58 +0000 Subject: [PATCH] r1556: Turn wrapping on/off when switching display styles (again). --- ROX-Filer/src/display.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ROX-Filer/src/display.c b/ROX-Filer/src/display.c index cf03fd75..df4154ec 100644 --- a/ROX-Filer/src/display.c +++ b/ROX-Filer/src/display.c @@ -317,7 +317,8 @@ void display_set_layout(FilerWindow *filer_window, display_style_set(filer_window, style); display_details_set(filer_window, details); - view_style_changed(VIEW(filer_window->view), 0); + /* Recreate layouts because wrapping may have changed */ + view_style_changed(VIEW(filer_window->view), VIEW_UPDATE_NAME); if (o_filer_auto_resize.int_value != RESIZE_NEVER) filer_window_autosize(filer_window, TRUE); -- 2.11.4.GIT