Merge lp:~mikemc/ubuntuone-control-panel/fix-native-dialog into lp:ubuntuone-control-panel
Proposed by
Mike McCracken
Status: | Merged |
---|---|
Approved by: | Mike McCracken |
Approved revision: | 396 |
Merged at revision: | 392 |
Proposed branch: | lp:~mikemc/ubuntuone-control-panel/fix-native-dialog |
Merge into: | lp:ubuntuone-control-panel |
Diff against target: |
282 lines (+116/-48) 6 files modified
ubuntuone/controlpanel/gui/qt/addfolder.py (+12/-4) ubuntuone/controlpanel/gui/qt/main/__init__.py (+2/-1) ubuntuone/controlpanel/gui/qt/main/darwin.py (+21/-0) ubuntuone/controlpanel/gui/qt/main/tests/test_darwin.py (+40/-0) ubuntuone/controlpanel/gui/qt/tests/__init__.py (+0/-40) ubuntuone/controlpanel/gui/qt/tests/test_addfolder.py (+41/-3) |
To merge this branch: | bzr merge lp:~mikemc/ubuntuone-control-panel/fix-native-dialog |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
dobey (community) | Approve | ||
Michał Karnicki (community) | Approve | ||
Review via email: mp+141104@code.launchpad.net |
Commit message
- Use applescript on OS X to show native file-chooser dialog. (LP: #1044201)
Description of the change
- Use applescript on OS X to show native file-chooser dialog. (LP: #1044201)
Adds a darwin-specific class to replace QFileDialog.
Tests pass on darwin and linux.
To test IRL, start control panel and press the "add a folder" button. It should be non-ugly.
To post a comment you must log in.
diff line 201 - intentional comment?
Looks good to me, can't test (no mac).