Merge lp:~mikemc/ubuntuone-credentials/back-delete-fix into lp:ubuntuone-credentials
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | dobey | ||||
Approved revision: | 71 | ||||
Merged at revision: | 70 | ||||
Proposed branch: | lp:~mikemc/ubuntuone-credentials/back-delete-fix | ||||
Merge into: | lp:ubuntuone-credentials | ||||
Diff against target: |
43 lines (+3/-5) 2 files modified
online-accounts-provider/Main.qml (+3/-3) online-accounts-provider/NewAccount.qml (+0/-2) |
||||
To merge this branch: | bzr merge lp:~mikemc/ubuntuone-credentials/back-delete-fix | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
dobey (community) | Approve | ||
PS Jenkins bot | continuous-integration | Approve | |
Roberto Alsina (community) | Approve | ||
Review via email:
|
Commit message
- Fix behavior of back button on existing account detail page (LP: #1237006)
Description of the change
- Fix behavior of back button on existing account detail page (LP: #1237006)
When the back button is pressed:
- Do not delete accounts that you are viewing in the detail page.
- Do delete new accounts that were created but not completely set up.
To Test on desktop saucy:
# branch this
cd branchname
mkdir build
cd build
cmake -DLIB_SUFFIX=
make && sudo make install && U1_DEBUG=1 annotate-output system-settings
- click 'accounts', 'ubuntuone' to start creating a U1 account. don't enter any data.
- use 'back' button from toolbar
= note that no account is listed. (It was created then deleted)
# then,
- click 'ubuntuone', and create an account.
= note the account is listed.
- click on the account to view its details
- use 'back' button from toolbar
= note the account is still listed.
looks good to me