doc: call view-change observers in idler
authorAndrew Chadwick <andrewc-git@piffle.org>
Wed, 6 Mar 2013 08:44:13 +0000 (08:44 +0000)
committerAndrew Chadwick <andrewc-git@piffle.org>
Wed, 6 Mar 2013 08:57:15 +0000 (08:57 +0000)
commit2ebc1458fd62f47ddc723f5579883735df37cb98
tree746bc6136769836e6196d6c240a315dd1a2543dd
parentf9aefe2bbc79347029be53d6e9689c2e1afe26d7
doc: call view-change observers in idler

After user testing and profiling, call the view_changed_observers in a
low-priority background idler to avoid excessive recalculations and
sluggishness when panning the main view using the DragMode.

https://gna.org/bugs/?20583

Manipulations done with the preview window are done at a higher priority
since they need more immediate feedback.
gui/document.py
gui/previewwindow.py