[Commits] [SCM] claws branch, gtk3, updated. 4.0.0-103-gc7dec0a87

paul at claws-mail.org paul at claws-mail.org
Thu Sep 2 13:58:34 UTC 2021


The branch, gtk3 has been updated
       via  c7dec0a8709e413161e2a4adf4f923c8654cc00c (commit)
      from  8dfa8ce7b3e9bbb15cb3a452a6c0dfa1a62fd744 (commit)

Summary of changes:
 src/alertpanel.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit c7dec0a8709e413161e2a4adf4f923c8654cc00c
Author: paul <paul at claws-mail.org>
Date:   Thu Sep 2 14:58:30 2021 +0100

    wrap long URLs

diff --git a/src/alertpanel.c b/src/alertpanel.c
index 25aed10d8..d08451442 100644
--- a/src/alertpanel.c
+++ b/src/alertpanel.c
@@ -265,7 +265,7 @@ static void alertpanel_create(const gchar *title,
 	gtk_window_set_title(GTK_WINDOW(window), title);
 	gtk_window_set_type_hint(GTK_WINDOW(window), GDK_WINDOW_TYPE_HINT_DIALOG);
 	gtk_window_set_modal(GTK_WINDOW(window), TRUE);
-
+	gtk_window_set_default_size (GTK_WINDOW(window), 450, 200);
 	
 	gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER);
 	g_signal_connect(G_OBJECT(window), "delete_event",
@@ -339,6 +339,8 @@ static void alertpanel_create(const gchar *title,
 	gtk_label_set_selectable(GTK_LABEL(label), TRUE);
 	gtk_label_set_use_markup(GTK_LABEL(label), TRUE);
 	gtk_widget_set_can_focus(label, FALSE);
+	gtk_label_set_line_wrap(GTK_LABEL(label), TRUE);
+	gtk_label_set_line_wrap_mode(GTK_LABEL(label), PANGO_WRAP_CHAR);
 	gtk_box_pack_start(GTK_BOX(vbox), label, FALSE, FALSE, 0);
 	gtk_widget_show(label);
 		

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list