Merge lp:~fraser-waters08/spud/statusbar-loading into lp:spud
Proposed by
Fraser Waters
Status: | Merged |
---|---|
Approved by: | Patrick Farrell |
Approved revision: | 401 |
Merged at revision: | 403 |
Proposed branch: | lp:~fraser-waters08/spud/statusbar-loading |
Merge into: | lp:spud |
Diff against target: |
57 lines (+7/-8) 2 files modified
diamond/bin/diamond (+2/-7) diamond/diamond/interface.py (+5/-1) |
To merge this branch: | bzr merge lp:~fraser-waters08/spud/statusbar-loading |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Patrick Farrell | Pending | ||
Review via email:
|
Description of the change
Loading a schema shows its location on the status bar.
Two points to be reviewed:
1) Is the change to the main diamond file OK? The removal of statusbar_clear is needed to stop the schema location being cleared, but what about in lining the initialize function.
2) Is the removal of statusbar_clear from on_select_row OK? The update of the treeview after loading a schema always seems to select no row, and thus trigger the clearing of the status bar.
To post a comment you must log in.
Very nice!
The inlining of the initialise function is fine: it was originally split out so that it could be threaded, but threading it caused all sorts of bizarre behaviour, and I abandoned the idea.
One minor quibble: can you get rid of the '.' at the end of 'Schema ' + schemafile + ' already loaded.'? None of the other messages end in punctuation.
Other than that, it's perfect, I think!