After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 547774 - Possible small performance improvement for starting preferences
Possible small performance improvement for starting preferences
Status: RESOLVED FIXED
Product: orca
Classification: Applications
Component: general
2.23.x
Other All
: Normal minor
: 2.24.0
Assigned To: Orca Maintainers
Orca Maintainers
Depends on:
Blocks: 491756
 
 
Reported: 2008-08-14 14:09 UTC by Mesar Hameed
Modified: 2009-03-10 00:05 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24


Attachments
revision 1 (1.21 KB, patch)
2008-08-14 14:13 UTC, Mesar Hameed
committed Details | Review

Description Mesar Hameed 2008-08-14 14:09:42 UTC
Please describe the problem:
According to http://www.pygtk.org/pygtk2tutorial/sec-TreeModelInterface.html#sec-LargeDataStores
it says "If adding a large number of rows disconnect the TreeModel from its TreeView (using the set_model() method with the model parameter set to None) to avoid
TreeView updates for each row entered."
This patch only associates the model with the treeview once the model is fully populated.

Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Mesar Hameed 2008-08-14 14:13:02 UTC
Created attachment 116575 [details] [review]
revision 1
Comment 2 Willie Walker 2008-08-18 20:05:30 UTC
Thanks!  Committed for 2.23.91.
Comment 3 Mike Pedersen 2008-08-21 16:21:52 UTC
Seems to help.  thanks much 
Comment 4 Willie Walker 2008-08-21 21:30:22 UTC
Thanks!  Closing as FIXED for Orca v2.23.91.