[empathy] Wrap text in contact label status (#589846)



commit ce183d1c5407ddeae0cb31e30c687101a3f2e190
Author: Nicolò Chieffo <84yelo3 gmail com>
Date:   Tue Jul 28 18:12:32 2009 +0100

    Wrap text in contact label status (#589846)

 libempathy-gtk/empathy-contact-widget.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/libempathy-gtk/empathy-contact-widget.c b/libempathy-gtk/empathy-contact-widget.c
index a9a673c..5b2e2de 100644
--- a/libempathy-gtk/empathy-contact-widget.c
+++ b/libempathy-gtk/empathy-contact-widget.c
@@ -596,6 +596,10 @@ contact_widget_contact_setup (EmpathyContactWidget *information)
 {
   /* Setup label_status as a KludgeLabel */
   information->label_status = empathy_kludge_label_new ("");
+  gtk_label_set_line_wrap_mode (GTK_LABEL (information->label_status),
+                                PANGO_WRAP_WORD_CHAR);
+  gtk_label_set_line_wrap (GTK_LABEL (information->label_status),
+                           TRUE);
   gtk_box_pack_start (GTK_BOX (information->hbox_presence),
         information->label_status, TRUE, TRUE, 0);
   gtk_widget_show (information->label_status);



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