[empathy] chat: make the password entry grow



commit 703d75010df79a51d0781fec8b30cd8588769c10
Author: Jonny Lamb <jonnylamb gnome org>
Date:   Fri Jan 28 13:13:04 2011 +0000

    chat: make the password entry grow
    
    Signed-off-by: Jonny Lamb <jonnylamb gnome org>

 libempathy-gtk/empathy-chat.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c
index e0b6d86..7742e0b 100644
--- a/libempathy-gtk/empathy-chat.c
+++ b/libempathy-gtk/empathy-chat.c
@@ -3090,7 +3090,7 @@ display_password_info_bar (EmpathyChat *self)
 	content_area = gtk_info_bar_get_content_area (GTK_INFO_BAR (info_bar));
 
 	hbox = gtk_hbox_new (FALSE, 5);
-	gtk_container_add (GTK_CONTAINER (content_area), hbox);
+	gtk_box_pack_start (GTK_BOX (content_area), hbox, TRUE, TRUE, 0);
 
 	/* Add image */
 	image = gtk_image_new_from_stock (GTK_STOCK_DIALOG_AUTHENTICATION,
@@ -3113,7 +3113,7 @@ display_password_info_bar (EmpathyChat *self)
 	g_signal_connect (entry, "realize", G_CALLBACK (gtk_widget_grab_focus), NULL);
 
 	/* Add 'Join' button */
-	alig = gtk_alignment_new (0, 0.5, 0, 0);
+	alig = gtk_alignment_new (0, 0.5, 1, 0);
 
 	button = gtk_button_new_with_label (_("Join"));
 	gtk_container_add (GTK_CONTAINER (alig), button);
@@ -3124,7 +3124,7 @@ display_password_info_bar (EmpathyChat *self)
 
 	/* Add spinner */
 	spinner = gtk_spinner_new ();
-	gtk_box_pack_end (GTK_BOX (hbox), spinner, TRUE, TRUE, 0);
+	gtk_box_pack_end (GTK_BOX (hbox), spinner, FALSE, FALSE, 0);
 
 	/* Save some data for messing around with later */
 	data->self = self;
@@ -3135,7 +3135,7 @@ display_password_info_bar (EmpathyChat *self)
 	data->spinner = spinner;
 
 	gtk_box_pack_start (GTK_BOX (priv->info_bar_vbox), info_bar,
-			    FALSE, FALSE, 3);
+			    TRUE, TRUE, 3);
 	gtk_widget_show_all (hbox);
 
 	g_signal_connect (info_bar, "response",



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