[Commits] [SCM] claws branch, gtk3, updated. 3.16.0-894-g329df2e81

paul at claws-mail.org paul at claws-mail.org
Fri Dec 13 18:37:41 CET 2019


The branch, gtk3 has been updated
       via  329df2e81e1dc26b6b72ef86bb34455aedabfaeb (commit)
      from  69ea41dc9d8f7a515c90841589e9e7cf463f14b3 (commit)

Summary of changes:
 src/action.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)


- Log -----------------------------------------------------------------
commit 329df2e81e1dc26b6b72ef86bb34455aedabfaeb
Author: paul <paul at claws-mail.org>
Date:   Fri Dec 13 17:36:02 2019 +0000

    ensure scrolled window has suitable height

diff --git a/src/action.c b/src/action.c
index d09395709..bb5f057d8 100644
--- a/src/action.c
+++ b/src/action.c
@@ -1298,8 +1298,8 @@ static void create_io_dialog(Children *children)
 	debug_print("Creating action IO dialog\n");
 
 	dialog = gtk_dialog_new();
-// 	gtk_container_set_border_width
-// 		(GTK_CONTAINER(gtk_dialog_get_action_area(GTK_DIALOG(dialog))), 5);
+	gtk_container_set_border_width
+		(GTK_CONTAINER(gtk_dialog_get_action_area(GTK_DIALOG(dialog))), 5);
 	gtk_window_set_position(GTK_WINDOW(dialog), GTK_WIN_POS_CENTER);
 	gtk_window_set_title(GTK_WINDOW(dialog), _("Action's input/output"));
 	gtk_window_set_modal(GTK_WINDOW(dialog), TRUE);
@@ -1328,6 +1328,7 @@ static void create_io_dialog(Children *children)
 				       GTK_POLICY_AUTOMATIC);
 	gtk_scrolled_window_set_shadow_type(GTK_SCROLLED_WINDOW(scrolledwin),
 					    GTK_SHADOW_IN);
+	gtk_scrolled_window_set_propagate_natural_height(GTK_SCROLLED_WINDOW(scrolledwin), TRUE);
 	gtk_box_pack_start(GTK_BOX(vbox), scrolledwin, TRUE, TRUE, 0);
 	gtk_widget_hide(scrolledwin);
 

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list