Mercurial > pidgin.yaz
changeset 10285:810613c79589
[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 <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Wed, 01 Dec 2004 03:52:49 +0000 |
parents | f776e117c17b |
children | ff5e0f059924 |
files | src/gtkblist.c |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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();