# HG changeset patch # User Will Thompson # Date 1218969462 0 # Node ID 3c9711cf1a76c11a9bb1f235bbe306b4f6c2c48e # Parent 472f382a44b1b3f80230e05f13593fd7e7ea0214 Ellipsize the "n people in room" text if necessary. This is a little bit pointless, but looks better than just truncating it. diff -r 472f382a44b1 -r 3c9711cf1a76 pidgin/gtkconv.c --- 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);