diff options
author | Will Thompson <resiak@pidgin.im> | 2008-08-17 10:37:42 +0000 |
---|---|---|
committer | Will Thompson <resiak@pidgin.im> | 2008-08-17 10:37:42 +0000 |
commit | 835df11940893ed0710e06bf37fa4ac31266850c (patch) | |
tree | 58f5f90316ef84199a0160843dc6e8ab462cf6ae | |
parent | 73a65060bae407d56464e6ce33909d76ad793021 (diff) | |
download | pidgin-835df11940893ed0710e06bf37fa4ac31266850c.tar.gz |
Ellipsize the "n people in room" text if necessary.
This is a little bit pointless, but looks better than just truncating it.
-rw-r--r-- | pidgin/gtkconv.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pidgin/gtkconv.c b/pidgin/gtkconv.c index 8edb7fb28d..70e62681bb 100644 --- a/pidgin/gtkconv.c +++ b/pidgin/gtkconv.c @@ -4619,6 +4619,9 @@ setup_chat_userlist(PidginConversation *gtkconv, GtkWidget *hpaned) /* 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); |