Merge lp://staging/~tealeg/landscape-client/ui-interface-iteration3 into lp://staging/~landscape/landscape-client/trunk
Proposed by
Geoff Teale
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Thomas Herve | ||||
Approved revision: | 502 | ||||
Merged at revision: | 476 | ||||
Proposed branch: | lp://staging/~tealeg/landscape-client/ui-interface-iteration3 | ||||
Merge into: | lp://staging/~landscape/landscape-client/trunk | ||||
Diff against target: |
3342 lines (+1244/-1344) 15 files modified
glib-2.0/schemas/com.canonical.landscape-client-settings.gschema.xml (+10/-10) landscape-client.conf (+1/-0) landscape/ui/constants.py (+3/-0) landscape/ui/controller/app.py (+36/-3) landscape/ui/controller/configuration.py (+54/-246) landscape/ui/controller/tests/test_app.py (+19/-6) landscape/ui/controller/tests/test_configuration.py (+115/-179) landscape/ui/model/configuration/state.py (+61/-42) landscape/ui/model/configuration/tests/test_state.py (+53/-45) landscape/ui/model/configuration/tests/test_uisettings.py (+17/-18) landscape/ui/model/configuration/uisettings.py (+4/-4) landscape/ui/tests/helpers.py (+14/-0) landscape/ui/view/configuration.py (+163/-205) landscape/ui/view/tests/test_configuration.py (+272/-227) landscape/ui/view/ui/landscape-client-settings.glade (+422/-359) |
||||
To merge this branch: | bzr merge lp://staging/~tealeg/landscape-client/ui-interface-iteration3 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Thomas Herve (community) | Approve | ||
Chad Smith | Abstain | ||
Fernando Correa Neto (community) | Approve | ||
Review via email: mp+95217@code.staging.launchpad.net |
Description of the change
Iteration 3 of fix for bug #911279
This branch does the following:
- Redesign the UI to reflect ongoing design discussions.
- Rebase controller layer on the new state pattern model.
- Make the view layer code work with both the new Gtk UI and new controller
Note - one particular test now generater a lot of spurious noise from Gdk - this is because I am faking key press events without a real X mapping. Nothing to worry about, but noisy. Using warnings.
To post a comment you must log in.
Looks great!
[1]
427 + except StateError:
428 + # We probably don't care.
429 + pass
Even if we don't care, maybe we should log something instead of not handling it?
[2]
975 + self._state. _proxy. account_ name = \ get(first_ key, ACCOUNT_NAME) _proxy. registration_ password = \ get(first_ key, PASSWORD)
976 + self._state.
977 + self._state.
978 + self._state.
I've noticed in previous reviews that we should avoid breaking likes using backslash. Maybe the following could make it consistent with the rest of our codebase.
(Didn't check if that goes beyond the 79char limit)
Also, do you think it would make sense to move l.ui.tests.helpers to a l.ui.testing module so it's more consistent with what we have in the server?
No biggie on this one, just trying to keep consistency at all costs :)
+1!