Merge lp://staging/~ralsina/ubuntuone-control-panel/sort-shares into lp://staging/ubuntuone-control-panel
Proposed by
Roberto Alsina
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Roberto Alsina | ||||
Approved revision: | 334 | ||||
Merged at revision: | 330 | ||||
Proposed branch: | lp://staging/~ralsina/ubuntuone-control-panel/sort-shares | ||||
Merge into: | lp://staging/ubuntuone-control-panel | ||||
Diff against target: |
205 lines (+42/-68) 2 files modified
ubuntuone/controlpanel/gui/qt/folders.py (+3/-0) ubuntuone/controlpanel/gui/qt/tests/test_folders.py (+39/-68) |
||||
To merge this branch: | bzr merge lp://staging/~ralsina/ubuntuone-control-panel/sort-shares | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
dobey (community) | Approve | ||
Manuel de la Peña (community) | Approve | ||
Review via email: mp+108594@code.staging.launchpad.net |
Commit message
- Enable folder list sorting (Fixes LP:1006385).
Description of the change
Enable sorting by the 1st column in the control panel's folder list.
This has one maybe unexpected side effect, which is that on languages where "My personal folders" is > "Shared by" you get the shares on top. I don't think that is really a problem.
The sort order is tested by test_process_info, which will compare the item order to case-insensitiv
To post a comment you must log in.
The attempt to merge lp:~ralsina/ubuntuone-control-panel/sort-shares into lp:ubuntuone-control-panel failed. Below is the output from the failed tests.
*** Running test suite for ubuntuone/ controlpanel *** controlpanel. tests.test_ replication_ client estCase exclude_ name_in_ exclusions ... [OK] exclude_ name_not_ in_replications ... [OK] get_exclusions ... [OK] get_replication s ... [OK] no_pairing_ record ... [OK] replicate_ name_not_ in_exclusions ... [OK] replicate_ name_not_ in_replications ... [OK] controlpanel. tests controlpanel. tests.test_ sd_client stCase disable_ throws_ an_error ... [OK] enable_ throws_ an_error ... [OK] get_value_ throws_ an_error ... [OK] get_current_ status ... [OK] get_current_ status_ error ... [OK] get_root_ dir ... [OK] get_shares_ dir ... [OK] get_shares_ dir_link ... [OK] connect_ file_sync ... [OK] disable_ file_sync ... [OK] disconnect_ file_sync ... [OK] enable_ file_sync ... [OK] file_sync_ enabled ... [OK] set_status_ changed_ handler ... [OK] start_file_ sync ... [OK] stop_file_ sync ... [OK] create_ folder ... [OK] create_ folder_ error ... [OK] get_folders ... [OK] get_folders_ error ... [OK] subscribe_ fold...
ubuntuone.
ReplicationsT
test_exclude ... [OK]
test_
test_
test_
test_
test_
test_replicate ... [OK]
test_
test_
ubuntuone.
TestCase
runTest ... [OK]
ubuntuone.
AutoconnectTe
test_disable ... [OK]
test_
test_enable ... [OK]
test_
test_get_value ... [OK]
test_
BaseTestCase
runTest ... [OK]
BasicTestCase
test_
test_
test_
test_
test_
FileSyncTestCase
test_
test_
test_
test_
test_
test_
test_
test_
FoldersTestCase
test_
test_
test_
test_
test_