[frogr] Left align the labels in proxy settings tab



commit c1bc3bed9821c1f55f92946f29525ddcc4f69997
Author: Å?ukasz JernaÅ? <deejay1 srem org>
Date:   Mon Mar 14 13:13:01 2011 +0100

    Left align the labels in proxy settings tab
    
    This fixes https://bugzilla.gnome.org/show_bug.cgi?id=644717

 src/frogr-settings-dialog.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/frogr-settings-dialog.c b/src/frogr-settings-dialog.c
index 7e26310..c25741a 100644
--- a/src/frogr-settings-dialog.c
+++ b/src/frogr-settings-dialog.c
@@ -326,10 +326,10 @@ _add_connection_page (FrogrSettingsDialog *self, GtkNotebook *notebook)
   gtk_box_pack_start (GTK_BOX (vbox), table, TRUE, TRUE, 0);
 
   label = gtk_label_new_with_mnemonic (_("_Host:"));
-  align = gtk_alignment_new (1, 0, 1, 0);
+  align = gtk_alignment_new (0, 0, 0, 0);
   gtk_container_add (GTK_CONTAINER (align), label);
   gtk_table_attach (GTK_TABLE (table), align, 0, 1, 0, 1,
-                    0, 0, 6, 6);
+                    GTK_FILL, 0, 6, 6);
   priv->proxy_host_label = label;
 
   entry = gtk_entry_new ();
@@ -347,7 +347,7 @@ _add_connection_page (FrogrSettingsDialog *self, GtkNotebook *notebook)
   align = gtk_alignment_new (0, 0, 0, 0);
   gtk_container_add (GTK_CONTAINER (align), label);
   gtk_table_attach (GTK_TABLE (table), align, 0, 1, 1, 2,
-                    0, 0, 6, 6);
+                    GTK_FILL, 0, 6, 6);
   priv->proxy_port_label = label;
 
   entry = gtk_entry_new ();
@@ -365,7 +365,7 @@ _add_connection_page (FrogrSettingsDialog *self, GtkNotebook *notebook)
   align = gtk_alignment_new (0, 0, 0, 0);
   gtk_container_add (GTK_CONTAINER (align), label);
   gtk_table_attach (GTK_TABLE (table), align, 0, 1, 2, 3,
-                    0, 0, 6, 6);
+                    GTK_FILL, 0, 6, 6);
   priv->proxy_username_label = label;
 
   entry = gtk_entry_new ();
@@ -383,7 +383,7 @@ _add_connection_page (FrogrSettingsDialog *self, GtkNotebook *notebook)
   align = gtk_alignment_new (0, 0, 0, 0);
   gtk_container_add (GTK_CONTAINER (align), label);
   gtk_table_attach (GTK_TABLE (table), align, 0, 1, 3, 4,
-                    0, 0, 6, 6);
+                    GTK_FILL, 0, 6, 6);
   priv->proxy_password_label = label;
 
   entry = gtk_entry_new ();



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