Mercurial > pidgin.yaz
changeset 23841:3c9711cf1a76
Ellipsize the "n people in room" text if necessary.
This is a little bit pointless, but looks better than just truncating it.
author | Will Thompson <will.thompson@collabora.co.uk> |
---|---|
date | Sun, 17 Aug 2008 10:37:42 +0000 |
parents | 472f382a44b1 |
children | 7ff461621d77 |
files | pidgin/gtkconv.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/pidgin/gtkconv.c Sun Aug 17 00:35:07 2008 +0000 +++ b/pidgin/gtkconv.c Sun Aug 17 10:37:42 2008 +0000 @@ -4619,6 +4619,9 @@ /* Setup the label telling how many people are in the room. */ gtkchat->count = gtk_label_new(_("0 people in room")); +#if GTK_CHECK_VERSION(2,6,0) + gtk_label_set_ellipsize(GTK_LABEL(gtkchat->count), PANGO_ELLIPSIZE_END); +#endif gtk_box_pack_start(GTK_BOX(lbox), gtkchat->count, FALSE, FALSE, 0); gtk_widget_show(gtkchat->count);