Merge lp:~marcobiscaro2112/unity/fixes-724045 into lp:unity
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Alex Launi | ||||
Approved revision: | no longer in the source branch. | ||||
Merge reported by: | Alex Launi | ||||
Merged at revision: | not available | ||||
Proposed branch: | lp:~marcobiscaro2112/unity/fixes-724045 | ||||
Merge into: | lp:unity | ||||
Diff against target: |
162 lines (+43/-35) 5 files modified
src/BamfLauncherIcon.cpp (+41/-20) src/BamfLauncherIcon.h (+1/-0) src/Launcher.cpp (+0/-8) src/Launcher.h (+0/-6) src/LauncherIcon.h (+1/-1) |
||||
To merge this branch: | bzr merge lp:~marcobiscaro2112/unity/fixes-724045 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Unity Team | Pending | ||
Review via email: mp+63461@code.launchpad.net |
Description of the change
The first problem was that BamfLauncherIco
So, I turned LauncherIcon:
The second problem was that method BamfLauncherIco
// Pseudo-code
When a BamfLauncherIcon is clicked:
If the application is not running
Finish scale, if scale was active
Launch it
If the application is running
If the application is active
If the scale was active
Terminate scale
If the scale was not active
Spread application
If the application is not active
If the scale was active
Change spread
If the scale was not active
Focus application
Send a UBUS_LAUNCHER_
// End of pseudo-code
As stated at UDS i will review my first merge proposal.
The code seems code, just two thing.
1) SetLastSpreadIcon (and GetLastSpreadIcon) is deprecated (there is a FIXME in Launcher.cpp). You should completely remove this function both in Launcher.cpp and BamfLauncherIco n.cpp.
2) The «ccsm-> scale-> bindings- >click dekstop to show dekstop» option is unchecked by default, but if we activate this option the scale doesn't work well (it doesn't work either now).