talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 1c71400e8b85b4624c71e583a21e8e271f36f578
parent 894a209d9d9b20db5c6799cf551c4264afc502cf
Author: wwp <subscript@free.fr>
Date:   Fri, 22 Mar 2024 13:53:33 +0100

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

Diffstat:
Msrc/password_gtk.c | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git 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:"));