How to test:
in one terminal:
DEBUG=True PYTHONPATH=. ./bin/ubuntuone-control-panel-gtk --switch-to=devices
This opens the control panel with the devices tab open.
Then in another terminal:
DEBUG=True PYTHONPATH=. ./bin/ubuntuone-control-panel-gtk --switch-to=volumes
The second terminal should return (semi-)immediately, and the control panel should switch to the volumes panel.
Now start d-feet and look up the switch_to_alert method in com.ubuntuone.controlpanel.gui, and verify that it allows you to switch panels.
« Back to merge proposal
How to test:
in one terminal:
DEBUG=True PYTHONPATH=. ./bin/ubuntuone -control- panel-gtk --switch-to=devices
This opens the control panel with the devices tab open.
Then in another terminal:
DEBUG=True PYTHONPATH=. ./bin/ubuntuone -control- panel-gtk --switch-to=volumes
The second terminal should return (semi-)immediately, and the control panel should switch to the volumes panel.
Now start d-feet and look up the switch_to_alert method in com.ubuntuone. controlpanel. gui, and verify that it allows you to switch panels.