Merge lp:~ralsina/ubuntuone-control-panel/even_more_unique_than_the_other_snowflake into lp:ubuntuone-control-panel
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Roberto Alsina | ||||
Approved revision: | 253 | ||||
Merged at revision: | 250 | ||||
Proposed branch: | lp:~ralsina/ubuntuone-control-panel/even_more_unique_than_the_other_snowflake | ||||
Merge into: | lp:ubuntuone-control-panel | ||||
Diff against target: |
324 lines (+265/-4) 6 files modified
ubuntuone/controlpanel/gui/qt/main/__init__.py (+4/-4) ubuntuone/controlpanel/gui/qt/uniqueapp/__init__.py (+28/-0) ubuntuone/controlpanel/gui/qt/uniqueapp/linux.py (+29/-0) ubuntuone/controlpanel/gui/qt/uniqueapp/tests/__init__.py (+17/-0) ubuntuone/controlpanel/gui/qt/uniqueapp/tests/test_windows.py (+135/-0) ubuntuone/controlpanel/gui/qt/uniqueapp/windows.py (+52/-0) |
||||
To merge this branch: | bzr merge lp:~ralsina/ubuntuone-control-panel/even_more_unique_than_the_other_snowflake | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Manuel de la Peña (community) | Approve | ||
Diego Sarmentero (community) | Approve | ||
Review via email: mp+86912@code.launchpad.net |
Commit message
Make control panel a unique instance app on windows.
Description of the change
Make control panel a unique instance app on windows.
Since on windows the control panel has a tray icon, the second time control panel is instantiated, it should activate that instance instead of launching.
To test (on windows only), if you don't have the whole windows setup:
Get this zip: http://
It contains trunk + this branch, compiled into exes, you can just run things by entering the dist folder.
Start ubuntuone-
If you start the first one with --minimized, then the second one should make
it show its window.
Missing docstrings