Mercurial > pidgin
changeset 11548:30ad548e8537
[gaim-migrate @ 13803]
Ellipsize the title column in the gtksavedstatus window and set a minimum
width
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 15 Sep 2005 03:43:18 +0000 |
parents | 726264a8f48f |
children | 8b494b5763c2 |
files | src/gtksavedstatuses.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtksavedstatuses.c Thu Sep 15 00:46:48 2005 +0000 +++ b/src/gtksavedstatuses.c Thu Sep 15 03:43:18 2005 +0000 @@ -313,6 +313,7 @@ column = gtk_tree_view_column_new(); gtk_tree_view_column_set_title(column, _("Title")); gtk_tree_view_column_set_resizable(column, TRUE); + gtk_tree_view_column_set_min_width(column, 100); gtk_tree_view_column_set_sort_column_id(column, STATUS_WINDOW_COLUMN_TITLE); gtk_tree_view_append_column(GTK_TREE_VIEW(treeview), column); @@ -320,6 +321,9 @@ gtk_tree_view_column_pack_start(column, renderer, TRUE); gtk_tree_view_column_add_attribute(column, renderer, "text", STATUS_WINDOW_COLUMN_TITLE); +#if GTK_CHECK_VERSION(2,6,0) + g_object_set(renderer, "ellipsize", PANGO_ELLIPSIZE_END, NULL); +#endif column = gtk_tree_view_column_new(); gtk_tree_view_column_set_title(column, _("Type"));