]> git.0d.be Git - empathy.git/commitdiff
accounts-dialog: wrap label status in info bar
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Wed, 10 Feb 2010 13:55:00 +0000 (13:55 +0000)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Wed, 10 Feb 2010 13:55:00 +0000 (13:55 +0000)
So the accounts doesn't become huge if user entered a ridiculously long
message (#609537).

src/empathy-accounts-dialog.c

index 190cc968c339b802ac6d00472b12882a620bf9d9..c43483b1562a3392bcf41c714e2d1182ce9fa9b0 100644 (file)
@@ -1946,6 +1946,7 @@ accounts_dialog_build_ui (EmpathyAccountsDialog *dialog)
             TP_CONNECTION_PRESENCE_TYPE_OFFLINE), GTK_ICON_SIZE_SMALL_TOOLBAR);
 
   priv->label_status = gtk_label_new (NULL);
             TP_CONNECTION_PRESENCE_TYPE_OFFLINE), GTK_ICON_SIZE_SMALL_TOOLBAR);
 
   priv->label_status = gtk_label_new (NULL);
+  gtk_label_set_line_wrap (GTK_LABEL (priv->label_status), TRUE);
   gtk_widget_show (priv->label_status);
 
   gtk_box_pack_start (GTK_BOX (hbox), priv->throbber, FALSE, FALSE, 0);
   gtk_widget_show (priv->label_status);
 
   gtk_box_pack_start (GTK_BOX (hbox), priv->throbber, FALSE, FALSE, 0);