]> granicus.if.org Git - transmission/commit
(trunk gtk) #3970 "tr_core_update() wastes CPU cycles by toggling the sort mode"...
authorJordan Lee <jordan@transmissionbt.com>
Mon, 31 Jan 2011 23:01:46 +0000 (23:01 +0000)
committerJordan Lee <jordan@transmissionbt.com>
Mon, 31 Jan 2011 23:01:46 +0000 (23:01 +0000)
commitb084493bfe47264fe038be45da9dcb608cdc14d1
treeaedc8762dc4aff677dd495e9af871ce4ff312f9b
parent392df7ceb8ec5073f123197295165958268d3faf
(trunk gtk) #3970 "tr_core_update() wastes CPU cycles by toggling the sort mode" -- fixed.

Long description in #3970. Split tr_core's torrent GtkTreeModel into two models: one low-level unsorted one, and one proxy sorted one. That way we don't have to disable sorting before walking through the low-level one to sync the table's attributes with the tr_torrent and tr_stat.
gtk/tr-core.c