# HG changeset patch # User Sean Egan # Date 1101873169 0 # Node ID 810613c795891bc92af377b3989f279e89650aa0 # Parent f776e117c17bb8b0901806a27fdfa08af9a92428 [gaim-migrate @ 11456] ellipzationifying. I didn't commit this earlier. This requires GTK 2.6 which, unfortunately, hasn't been released yet. committer: Tailor Script diff -r f776e117c17b -r 810613c79589 src/gtkblist.c --- a/src/gtkblist.c Wed Dec 01 02:30:47 2004 +0000 +++ b/src/gtkblist.c Wed Dec 01 03:52:49 2004 +0000 @@ -3202,7 +3202,10 @@ "markup", NAME_COLUMN, NULL); g_object_set(rend, "ypad", 0, "yalign", 0.5, NULL); - +#if GTK_CHECK_VERSION(2,6,0) + gtk_tree_view_column_set_expand (column, TRUE); + g_object_set(rend, "ellipsize", PANGO_ELLIPSIZE_END); +#endif gtk_tree_view_append_column(GTK_TREE_VIEW(gtkblist->treeview), column); rend = gtk_cell_renderer_text_new();