talons

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

commit 8d158aaebec94841ff8e8e76db68e1959a283ded
parent 3bcd1c797e015b6d0b6119a3d589bc6581c4f927
Author: Paul <paul@claws-mail.org>
Date:   Tue,  8 Nov 2022 09:39:11 +0000

fix bug where, when starting with msgview hidden, toggling msgview to show it would use incorrect height

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

diff --git a/src/mainwindow.c b/src/mainwindow.c @@ -2728,6 +2728,8 @@ void main_window_toggle_message_view(MainWindow *mainwin) mainwin->messageview->visible = TRUE; gtk_widget_reparent(GTK_WIDGET_PTR(summaryview), ppaned); gtk_container_add(GTK_CONTAINER(container), ppaned); + gtk_paned_set_position(GTK_PANED(ppaned), + prefs_common.summaryview_height); g_object_unref(ppaned); } break;