Mercurial > pidgin.yaz
comparison src/gtkblist.c @ 13146:a3c1112bb190
[gaim-migrate @ 15509]
SF Patch #1424827 from Mart Raudsepp (leio)
"gtk_tree_view_columns_autosize is a function to
autosize a treeviews columns automatically to their
optimal width.
This was necessary when the buddy list treeview could
have a horizontal scrollbar, but now there is none and
the widths are fixed, based on the toplevels width."
I imagine this is only valid for GTK+ 2.6.0, so rather than removing the aforemeentioned line of code, I'm #if'ing it based on GTK+ version.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Tue, 07 Feb 2006 02:22:36 +0000 |
parents | 00f6445c6879 |
children | 02268b52ced3 |
comparison
equal
deleted
inserted
replaced
13145:bfd7b9e3c705 | 13146:a3c1112bb190 |
---|---|
4269 break; | 4269 break; |
4270 case GAIM_BLIST_OTHER_NODE: | 4270 case GAIM_BLIST_OTHER_NODE: |
4271 return; | 4271 return; |
4272 } | 4272 } |
4273 | 4273 |
4274 #if !GTK_CHECK_VERSION(2,6,0) | |
4274 gtk_tree_view_columns_autosize(GTK_TREE_VIEW(gtkblist->treeview)); | 4275 gtk_tree_view_columns_autosize(GTK_TREE_VIEW(gtkblist->treeview)); |
4276 #endif | |
4275 } | 4277 } |
4276 | 4278 |
4277 | 4279 |
4278 static void gaim_gtk_blist_destroy(GaimBuddyList *list) | 4280 static void gaim_gtk_blist_destroy(GaimBuddyList *list) |
4279 { | 4281 { |