[Commits] [SCM] claws branch, gtk3, updated. 4.0.0-334-ge924500d8

paul at claws-mail.org paul at claws-mail.org
Tue Oct 12 06:30:18 CET 2021


The branch, gtk3 has been updated
       via  e924500d8ad60215147f508eb91569576b923946 (commit)
      from  8b228c1c3484913037463a23b63f94180cdf1390 (commit)

Summary of changes:
 src/action.c             | 1 -
 src/grouplistdialog.c    | 1 -
 src/gtk/progressdialog.c | 3 +--
 3 files changed, 1 insertion(+), 4 deletions(-)


- Log -----------------------------------------------------------------
commit e924500d8ad60215147f508eb91569576b923946
Author: paul <paul at claws-mail.org>
Date:   Tue Oct 12 07:30:14 2021 +0100

    rework border widths

diff --git a/src/action.c b/src/action.c
index 346b8806e..53bf3f5a1 100644
--- a/src/action.c
+++ b/src/action.c
@@ -1303,7 +1303,6 @@ 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(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);
diff --git a/src/grouplistdialog.c b/src/grouplistdialog.c
index 5f1a73735..54519b5c1 100644
--- a/src/grouplistdialog.c
+++ b/src/grouplistdialog.c
@@ -154,7 +154,6 @@ static void grouplist_dialog_create(void)
 
 	dialog = gtk_dialog_new();
 	gtk_window_set_resizable(GTK_WINDOW(dialog), TRUE);
-	gtk_container_set_border_width(GTK_CONTAINER(dialog), 5);
 	gtk_window_set_position(GTK_WINDOW(dialog), GTK_WIN_POS_CENTER);
 	gtk_window_set_title(GTK_WINDOW(dialog), _("Newsgroup subscription"));
 	g_signal_connect(G_OBJECT(dialog), "delete_event",
diff --git a/src/gtk/progressdialog.c b/src/gtk/progressdialog.c
index ff48df052..f96d8b35f 100644
--- a/src/gtk/progressdialog.c
+++ b/src/gtk/progressdialog.c
@@ -69,12 +69,11 @@ ProgressDialog *progress_dialog_create(void)
 	progress = g_new0(ProgressDialog, 1);
 
 	dialog = gtk_dialog_new();
-	gtk_container_set_border_width(GTK_CONTAINER(dialog), 8);
 	gtk_window_set_resizable(GTK_WINDOW(dialog), TRUE);
 	gtk_widget_realize(dialog);
 
-	gtk_container_set_border_width(GTK_CONTAINER(dialog), 0);
 	vbox = gtk_dialog_get_content_area(GTK_DIALOG(dialog));
+	gtk_container_set_border_width(GTK_CONTAINER(vbox), 8);
 	gtk_box_set_spacing(GTK_BOX(vbox), 8);
 
 	hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 0);

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list