* src/DisplayState.py: add standard function for using WATCH cursor

* src/PageView.py: enable watch cursor when it is necessary to
rebuild a page.


svn: r5866
This commit is contained in:
Don Allingham
2006-02-02 17:00:37 +00:00
parent 2607f4180e
commit 2d9449b77e
3 changed files with 15 additions and 0 deletions

View File

@ -54,7 +54,9 @@ class PageView:
def set_active(self):
self.active = True
if self.dirty:
self.uistate.set_busy_cursor(True)
self.build_tree()
self.uistate.set_busy_cursor(False)
def set_inactive(self):
self.active = False