[Commits] [SCM] claws branch, gtk3, updated. 3.16.0-1027-gce219a1a5

paul at claws-mail.org paul at claws-mail.org
Wed Oct 28 13:53:06 CET 2020


The branch, gtk3 has been updated
       via  ce219a1a5b6c2b86ffdb5647f5ef9370ae2a5fd7 (commit)
      from  e7572400ea0a83394dfd155e7fade24359644754 (commit)

Summary of changes:
 src/alertpanel.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)


- Log -----------------------------------------------------------------
commit ce219a1a5b6c2b86ffdb5647f5ef9370ae2a5fd7
Author: paul <paul at claws-mail.org>
Date:   Wed Oct 28 12:53:01 2020 +0000

    improve sizes of alertpanels

diff --git a/src/alertpanel.c b/src/alertpanel.c
index 9faafb796..defaa4897 100644
--- a/src/alertpanel.c
+++ b/src/alertpanel.c
@@ -1,6 +1,6 @@
 /*
  * Claws Mail -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2019 the Claws Mail team and Hiroyuki Yamamoto
+ * Copyright (C) 1999-2020 the Claws Mail team and Hiroyuki Yamamoto
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -256,11 +256,9 @@ static void alertpanel_create(const gchar *title,
 	window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
 	manage_window_set_transient(GTK_WINDOW(window));
 	gtk_window_set_title(GTK_WINDOW(window), title);
-	gtk_window_set_resizable(GTK_WINDOW(window), TRUE);
 	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), -1, 100);
 	
 	gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER);
 	g_signal_connect(G_OBJECT(window), "delete_event",
@@ -331,7 +329,6 @@ static void alertpanel_create(const gchar *title,
 	label = gtk_label_new(message);
 	gtk_label_set_xalign(GTK_LABEL(label), 0.0);
 	gtk_label_set_justify(GTK_LABEL(label), GTK_JUSTIFY_LEFT);
-	gtk_label_set_line_wrap(GTK_LABEL(label), TRUE);
 	gtk_label_set_selectable(GTK_LABEL(label), TRUE);
 	gtk_label_set_use_markup(GTK_LABEL(label), TRUE);
 	gtk_widget_set_can_focus(label, FALSE);

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list