[gnome-disk-utility] HIG fixes



commit 3022780d75574b91405083633a3223e7e9d46e5e
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Mar 25 23:17:24 2009 -0400

    HIG fixes
    
    The HIG calls for left-aligned labels.
    
    Signed-off-by: David Zeuthen <davidz redhat com>
---
 src/gdu-gtk/gdu-gtk.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/gdu-gtk/gdu-gtk.c b/src/gdu-gtk/gdu-gtk.c
index d0a41d4..4a96fa1 100644
--- a/src/gdu-gtk/gdu-gtk.c
+++ b/src/gdu-gtk/gdu-gtk.c
@@ -636,7 +636,7 @@ gdu_util_dialog_secret_internal (GtkWidget   *parent_window,
                 if (is_change_password) {
                         label = gtk_label_new_with_mnemonic (_("C_urrent Passphrase:"));
                         gtk_label_set_use_markup (GTK_LABEL (label), TRUE);
-                        gtk_misc_set_alignment (GTK_MISC (label), 1.0, 0.5);
+                        gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
                         gtk_table_attach (GTK_TABLE (table), label,
                                           0, 1, row, row + 1,
                                           GTK_FILL, GTK_EXPAND | GTK_FILL, 0, 0);
@@ -650,7 +650,7 @@ gdu_util_dialog_secret_internal (GtkWidget   *parent_window,
 
                 label = gtk_label_new_with_mnemonic (_("_New Passphrase:"));
                 gtk_label_set_use_markup (GTK_LABEL (label), TRUE);
-                gtk_misc_set_alignment (GTK_MISC (label), 1.0, 0.5);
+                gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
                 gtk_table_attach (GTK_TABLE (table), label,
                                   0, 1, row, row + 1,
                                   GTK_FILL, GTK_EXPAND | GTK_FILL, 0, 0);
@@ -663,7 +663,7 @@ gdu_util_dialog_secret_internal (GtkWidget   *parent_window,
 
                 label = gtk_label_new_with_mnemonic (_("_Verify Passphrase:"));
                 gtk_label_set_use_markup (GTK_LABEL (label), TRUE);
-                gtk_misc_set_alignment (GTK_MISC (label), 1.0, 0.5);
+                gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
                 gtk_table_attach (GTK_TABLE (table), label,
                                   0, 1, row, row + 1,
                                   GTK_FILL, GTK_EXPAND | GTK_FILL, 0, 0);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]