talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit d2af47b2de8d3d72eddecce24d9bbf83738414b0
parent e439c5a1e30df44cb395a3334f8fc3a0b2334f69
Author: Colin Leroy <colin@colino.net>
Date:   Fri, 30 May 2014 15:43:52 +0200

Fix bug #2728, "erroneous switching from one to three column view"

Diffstat:
Msrc/mainwindow.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/mainwindow.c b/src/mainwindow.c @@ -4139,6 +4139,8 @@ static void set_layout_cb(GtkAction *action, GtkRadioAction *current, gpointer d mainwindow_reset_paned(GTK_PANED(mainwin->vpaned)); if (old_layout_mode == SMALL_LAYOUT && layout_mode != SMALL_LAYOUT) { mainwindow_reset_paned(GTK_PANED(mainwin->hpaned)); + if (layout_mode == VERTICAL_LAYOUT) + mainwindow_reset_paned(GTK_PANED(mainwin->vpaned)); } if (old_layout_mode != SMALL_LAYOUT && layout_mode == SMALL_LAYOUT) { mainwin_paned_show_first(GTK_PANED(mainwin->hpaned));