[Commits] [SCM] claws branch, master, updated. 4.2.0-103-gfab3c7930

paul at claws-mail.org paul at claws-mail.org
Wed Jun 5 10:23:58 UTC 2024


The branch, master has been updated
       via  fab3c79304dcafc24845e41a403305cf32a6e411 (commit)
      from  47eb496104ce99a42e299a9e52373c4e2d96eab9 (commit)

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


- Log -----------------------------------------------------------------
commit fab3c79304dcafc24845e41a403305cf32a6e411
Author: Paul <paul at claws-mail.org>
Date:   Wed Jun 5 11:23:54 2024 +0100

    fix default size of Notice window

diff --git a/src/alertpanel.c b/src/alertpanel.c
index 3ce085b47..61a90c238 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-2022 the Claws Mail team and Hiroyuki Yamamoto
+ * Copyright (C) 1999-2024 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
@@ -278,7 +278,6 @@ 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",
@@ -289,6 +288,7 @@ static void alertpanel_create(const gchar *title,
 			 (gpointer)G_ALERTCANCEL);
 
 	content_area = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 12);
+	gtk_widget_set_size_request(GTK_WIDGET(content_area), 450, 100);
 	gtk_container_add (GTK_CONTAINER(window), content_area);
 	/* for title icon, label and message */
 	hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 12);

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list