[gnome-chat] contacts-list-dialog: Ellipsize the aliases



commit 89d33ac00f30aaecc1d4cfd0b48ee06ffe12c5ae
Author: Debarshi Ray <debarshir gnome org>
Date:   Fri Sep 13 15:14:28 2013 +0200

    contacts-list-dialog: Ellipsize the aliases

 src/chat-contacts-list-dialog.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/chat-contacts-list-dialog.c b/src/chat-contacts-list-dialog.c
index 36dfd73..1d1bdde 100644
--- a/src/chat-contacts-list-dialog.c
+++ b/src/chat-contacts-list-dialog.c
@@ -132,6 +132,7 @@ chat_contacts_list_dialog_add_row_avatar (GObject *source_object, GAsyncResult *
   gtk_container_add (GTK_CONTAINER (grid), image);
 
   label = gtk_label_new (alias);
+  gtk_label_set_ellipsize (GTK_LABEL (label), PANGO_ELLIPSIZE_END);
   gtk_container_add (GTK_CONTAINER (grid), label);
 
   state = chat_contacts_list_dialog_get_presence_image (presence);


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