aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorJonny Lamb <jonnylamb@gnome.org>2011-01-28 21:13:04 +0800
committerJonny Lamb <jonnylamb@gnome.org>2011-01-28 21:13:04 +0800
commit703d75010df79a51d0781fec8b30cd8588769c10 (patch)
treeb5ad7d7c8c6d781eb46e19cc7f3b36a30a88b6a9 /libempathy-gtk
parentf195c0248cff2258fadca246d94f114c0fa2d685 (diff)
downloadgsoc2013-empathy-703d75010df79a51d0781fec8b30cd8588769c10.tar
gsoc2013-empathy-703d75010df79a51d0781fec8b30cd8588769c10.tar.gz
gsoc2013-empathy-703d75010df79a51d0781fec8b30cd8588769c10.tar.bz2
gsoc2013-empathy-703d75010df79a51d0781fec8b30cd8588769c10.tar.lz
gsoc2013-empathy-703d75010df79a51d0781fec8b30cd8588769c10.tar.xz
gsoc2013-empathy-703d75010df79a51d0781fec8b30cd8588769c10.tar.zst
gsoc2013-empathy-703d75010df79a51d0781fec8b30cd8588769c10.zip
chat: make the password entry grow
Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-chat.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c
index e0b6d8654..7742e0b90 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",