commit d6f80be16b3183693b4300346fdbdc6c7c342d4f
parent 1c71400e8b85b4624c71e583a21e8e271f36f578
Author: Ricardo Mones <ricardo@mones.org>
Date: Sat, 23 Mar 2024 17:17:46 +0100
Improve 4790 fix and normalise labels
Diffstat:
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/password_gtk.c b/src/password_gtk.c
@@ -169,9 +169,11 @@ void primary_passphrase_change_dialog()
gtk_widget_show(label);
table = gtk_grid_new();
+ gtk_grid_set_row_spacing(GTK_GRID(table), 8);
+ gtk_grid_set_column_spacing(GTK_GRID(table), 8);
/* Old passphrase */
- label = gtk_label_new(_("Old passphrase:"));
+ label = gtk_label_new(_("Old passphrase"));
gtk_label_set_xalign(GTK_LABEL(label), 0.0);
gtk_grid_attach(GTK_GRID(table), label, 0, 0, 1, 1);
@@ -187,7 +189,7 @@ void primary_passphrase_change_dialog()
gtk_grid_attach(GTK_GRID(table), sep, 0, 1, 2, 1);
/* New passphrase */
- label = gtk_label_new(_("New passphrase:"));
+ label = gtk_label_new(_("New passphrase"));
gtk_label_set_xalign(GTK_LABEL(label), 0.0);
gtk_grid_attach(GTK_GRID(table), label, 0, 2, 1, 1);
@@ -198,7 +200,7 @@ void primary_passphrase_change_dialog()
gtk_widget_set_halign(entry_new1, GTK_ALIGN_FILL);
/* New passphrase again */
- label = gtk_label_new(_("Confirm passphrase:"));
+ label = gtk_label_new(_("Confirm passphrase"));
gtk_label_set_xalign(GTK_LABEL(label), 0.0);
gtk_grid_attach(GTK_GRID(table), label, 0, 3, 1, 1);