talons

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

commit 3afec966fdd14a2eee0c0ab4254169ba42ee4674
parent 82e0e7751a18ecef39e0bbad89d74cb23639f4dc
Author: paul <paul@claws-mail.org>
Date:   Fri, 24 Dec 2021 10:55:23 +0000

fix bug 4513, 'msg window too small in 3 column layout'

patch by ???

Diffstat:
Msrc/mainwindow.c | 11++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/src/mainwindow.c b/src/mainwindow.c @@ -3687,12 +3687,17 @@ static void main_window_set_widgets(MainWindow *mainwin, LayoutType layout_mode) } gtk_paned_set_position(GTK_PANED(hpaned), - prefs_common_get_prefs()->folderview_width); + prefs_common_get_prefs()->folderview_width); if (layout_mode == NORMAL_LAYOUT && - messageview_is_visible(mainwin->messageview)) { + messageview_is_visible(mainwin->messageview)) { gtk_paned_set_position(GTK_PANED(vpaned), - prefs_common_get_prefs()->summaryview_height); + prefs_common_get_prefs()->summaryview_height); + } + if (layout_mode == VERTICAL_LAYOUT && + messageview_is_visible(mainwin->messageview)) { + gtk_paned_set_position(GTK_PANED(vpaned), + prefs_common_get_prefs()->summaryview_width); } break;