softwarecenter/ui/gtk3/widgets/apptreeview.py: use the model supplied in _cell_data_f...
authorMichael Vogt <michael.vogt@ubuntu.com>
Thu, 29 Mar 2012 10:20:51 +0000 (12:20 +0200)
committerMichael Vogt <michael.vogt@ubuntu.com>
Thu, 29 Mar 2012 10:20:51 +0000 (12:20 +0200)
commit42417e1df73df06660f26182bbd33d2546255b29
tree0b744d0d5b5a56ff434b4a1f5be8f2b6b3539daf
parentaed5d54716d643c61fb478e1dac28565233d9938
softwarecenter/ui/gtk3/widgets/apptreeview.py: use the model supplied in _cell_data_func_cb() instead of the "appmodel" property. The appmodel property will in this case return the underlying model of the treefilter and that causes the treefilter and the child-model to get out of sync. Plus calling row_changed on the underlying model instead of the treefilter causes InstalledPane._row_visibility_func() to be called with the wrong iterator (#950899 and #966879)
softwarecenter/ui/gtk3/widgets/apptreeview.py