Merge lp:~mc-return/unity/unity.merge.fix-hardcoded-keys-part1 into lp:unity
| Status: | Merged |
|---|---|
| Approved by: | Sebastien Bacher on 2012-09-05 |
| Approved revision: | 2637 |
| Merged at revision: | 2664 |
| Proposed branch: | lp:~mc-return/unity/unity.merge.fix-hardcoded-keys-part1 |
| Merge into: | lp:unity |
| Diff against target: |
350 lines (+113/-66) 2 files modified
plugins/unityshell/src/unityshell.cpp (+110/-62) shortcuts/StandaloneShortcuts.cpp (+3/-4) |
| To merge this branch: | bzr merge lp:~mc-return/unity/unity.merge.fix-hardcoded-keys-part1 |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Sam Spilsbury (community) | 2012-08-28 | Approve on 2012-09-02 | |
| jenkins | continuous-integration | Pending | |
|
Review via email:
|
|||
Commit Message
"Alt+Space" shortcut to reveal the window menu is not hardcoded, but a Compiz key option
" (Hold)" should also be translated
Made all Compiz plug-in names and all Compiz plug-in option names in unityshell.cpp static constants
Description of the Change
"Alt+Space" shortcut to reveal the window menu is not hardcoded, but a Compiz key option
" (Hold)" should also be translated
Makes all Compiz plug-in names and all Compiz plug-in option names in unityshell.cpp static constants
| Sam Spilsbury (smspillaz) wrote : | # |
| Unity Merger (unity-merger) wrote : | # |
The Jenkins job https:/
Not merging it.
| MC Return (mc-return) wrote : | # |
/tmp/buildd/
compilation terminated.
Jenkins failure :(


Hi,
8 - * that would make the unity-panel-service to go crazy (see bug #948522)
9 + * that would make the unity-panel-service go crazy (see bug #948522)
You probably don't need to keep that (it is a typographical error in a comment, but not really relevant here)
29 + "core", menu_key" ));
30 + "window_
Can you make these two constants somewhere? eg
static const std::string COMPIZ_ CORE_PLUGIN_ NAME = "core"; CORE_OPTION_ WINDOW_ MENU_KEY = "window_menu_key";
static const std::string COMPIZ_
And then use those constants?
Otherwise looks fine.