Merge lp:~didrocks/unity/enter-is-good-for-you into lp:unity

Proposed by Didier Roche on 2011-04-13
Status: Merged
Merged at revision: 1129
Proposed branch: lp:~didrocks/unity/enter-is-good-for-you
Merge into: lp:unity
Diff against target: 23 lines (+2/-0)
2 files modified
src/Launcher.cpp (+1/-0)
src/QuicklistView.cpp (+1/-0)
To merge this branch: bzr merge lp:~didrocks/unity/enter-is-good-for-you
Reviewer Review Type Date Requested Status
Unity Team 2011-04-13 Pending
Review via email: mp+57564@code.launchpad.net

Description of the change

support numpad Enter in Launcher and Quicklist (LP: #760003)

To post a comment you must log in.

review approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/Launcher.cpp'
2--- src/Launcher.cpp 2011-04-13 14:12:47 +0000
3+++ src/Launcher.cpp 2011-04-13 19:03:28 +0000
4@@ -3278,6 +3278,7 @@
5
6 // <RETURN> (start/activate currently selected icon)
7 case NUX_VK_ENTER:
8+ case NUX_KP_ENTER:
9 {
10 // start currently selected icon
11 it = _model->at (_current_icon_index);
12
13=== modified file 'src/QuicklistView.cpp'
14--- src/QuicklistView.cpp 2011-04-08 10:00:22 +0000
15+++ src/QuicklistView.cpp 2011-04-13 19:03:28 +0000
16@@ -224,6 +224,7 @@
17 // <SPACE>, <RETURN> (activate selected menu-item)
18 case NUX_VK_SPACE:
19 case NUX_VK_ENTER:
20+ case NUX_KP_ENTER:
21 if (_current_item_index >= 0 && _current_item_index < GetNumItems () &&
22 GetNthItems (_current_item_index)->GetEnabled ())
23 {