[Commits] [SCM] claws branch, gtk3, updated. 4.0.0-387-g3afec966f

paul at claws-mail.org paul at claws-mail.org
Fri Dec 24 10:55:27 UTC 2021


The branch, gtk3 has been updated
       via  3afec966fdd14a2eee0c0ab4254169ba42ee4674 (commit)
      from  82e0e7751a18ecef39e0bbad89d74cb23639f4dc (commit)

Summary of changes:
 src/mainwindow.c | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)


- Log -----------------------------------------------------------------
commit 3afec966fdd14a2eee0c0ab4254169ba42ee4674
Author: paul <paul at claws-mail.org>
Date:   Fri Dec 24 10:55:23 2021 +0000

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

diff --git a/src/mainwindow.c b/src/mainwindow.c
index e7d459465..a9e425665 100644
--- 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;

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list