[Commits] [SCM] claws branch, master, updated. 4.2.0-68-g1c71400e8

wwp at claws-mail.org wwp at claws-mail.org
Fri Mar 22 12:54:50 UTC 2024


The branch, master has been updated
       via  1c71400e8b85b4624c71e583a21e8e271f36f578 (commit)
      from  894a209d9d9b20db5c6799cf551c4264afc502cf (commit)

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


- Log -----------------------------------------------------------------
commit 1c71400e8b85b4624c71e583a21e8e271f36f578
Author: wwp <subscript at free.fr>
Date:   Fri Mar 22 13:53:33 2024 +0100

    fix bug 4790, 'widget spacing in "Changing primary passphrase" dialog' (to match what's was in GTK2, BTW).

diff --git a/src/password_gtk.c b/src/password_gtk.c
index 1c1355cad..dc1456edb 100644
--- a/src/password_gtk.c
+++ b/src/password_gtk.c
@@ -109,7 +109,7 @@ void primary_passphrase_change_dialog()
 	static PangoFontDescription *font_desc;
 	GtkWidget *dialog;
 	GtkWidget *vbox, *hbox;
-	GtkWidget *icon, *table, *label;
+	GtkWidget *icon, *table, *label, *sep;
 	GtkWidget *msg_title;
 	GtkWidget *entry_old, *entry_new1, *entry_new2;
 	GtkWidget *ok_button, *cancel_button;
@@ -182,7 +182,9 @@ void primary_passphrase_change_dialog()
 	gtk_widget_set_halign(entry_old, GTK_ALIGN_FILL);
 
 	/* Separator */
-	gtk_grid_attach(GTK_GRID(table), gtk_separator_new(GTK_ORIENTATION_HORIZONTAL), 0, 1, 1, 1);
+	sep = gtk_separator_new(GTK_ORIENTATION_HORIZONTAL);
+	g_object_set (sep, "margin", 8, NULL);
+	gtk_grid_attach(GTK_GRID(table), sep, 0, 1, 2, 1);
 
 	/* New passphrase */
 	label = gtk_label_new(_("New passphrase:"));

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list