Mercurial > pidgin.yaz
diff src/gtkplugin.c @ 11794:f5105a2b8bf6
[gaim-migrate @ 14085]
Made the plugins dialog's treeview sortable. This acts kind of goofy when you sort on the enabled column because of the sort arrow thingy, but it works..
committer: Tailor Script <tailor@pidgin.im>
| author | Gary Kramlich <grim@reaperworld.com> |
|---|---|
| date | Mon, 24 Oct 2005 07:39:57 +0000 |
| parents | b75d8a37e603 |
| children | 1f7f4f850db5 |
line wrap: on
line diff
--- a/src/gtkplugin.c Mon Oct 24 06:06:51 2005 +0000 +++ b/src/gtkplugin.c Mon Oct 24 07:39:57 2005 +0000 @@ -327,6 +327,7 @@ "active", 0, NULL); gtk_tree_view_append_column (GTK_TREE_VIEW(event_view), col); + gtk_tree_view_column_set_sort_column_id(col, 0); g_signal_connect (G_OBJECT(rend), "toggled", G_CALLBACK(plugin_load), ls); @@ -340,6 +341,7 @@ g_object_set(rendt, "ellipsize", PANGO_ELLIPSIZE_END, NULL); #endif gtk_tree_view_append_column (GTK_TREE_VIEW(event_view), col); + gtk_tree_view_column_set_sort_column_id(col, 1); g_object_unref(G_OBJECT(ls)); gtk_container_add(GTK_CONTAINER(sw), event_view);
