Merge lp:~nataliabidart/ubuntuone-control-panel/open-in-a-tab into lp:ubuntuone-control-panel
Proposed by
Natalia Bidart
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Natalia Bidart | ||||
Approved revision: | 50 | ||||
Merged at revision: | 50 | ||||
Proposed branch: | lp:~nataliabidart/ubuntuone-control-panel/open-in-a-tab | ||||
Merge into: | lp:ubuntuone-control-panel | ||||
Diff against target: |
121 lines (+67/-4) 3 files modified
bin/ubuntuone-control-panel-gtk (+21/-2) ubuntuone/controlpanel/gtk/gui.py (+11/-2) ubuntuone/controlpanel/gtk/tests/test_gui.py (+35/-0) |
||||
To merge this branch: | bzr merge lp:~nataliabidart/ubuntuone-control-panel/open-in-a-tab | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alejandro J. Cura (community) | Approve | ||
Eric Casteleijn (community) | Approve | ||
Review via email:
|
Commit message
- Added a command line option to start the UI on a given panel (LP: #702968).
Description of the change
If you run the UI, you can check that
DEBUG=True PYTHONPATH=. ./bin/ubuntuone
Returns:
Usage: ubuntuone-
Options:
-h, --help show this help message and exit
--switch-
Also, you can play passing different values to switch_to to check it works.
To post a comment you must log in.
Looks great, works as advertised. I wonder if falling back to the default option when an unrecognized option is passed in to --switch-to is the right thing, rather than refuse to switch at all.