Merge lp:~mrasmus/unity/fix-713632 into lp:unity

Proposed by Matthew Rasmus
Status: Merged
Merged at revision: 856
Proposed branch: lp:~mrasmus/unity/fix-713632
Merge into: lp:unity
Diff against target: 20 lines (+3/-0)
1 file modified
src/Launcher.cpp (+3/-0)
To merge this branch: bzr merge lp:~mrasmus/unity/fix-713632
Reviewer Review Type Date Requested Status
Jason Smith (community) Approve
Review via email: mp+49577@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Jason Smith (jassmith) wrote :

+1

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-02-11 16:40:12 +0000
3+++ src/Launcher.cpp 2011-02-13 23:09:11 +0000
4@@ -190,6 +190,7 @@
5 OnMouseMove.connect (sigc::mem_fun (this, &Launcher::RecvMouseMove));
6 OnMouseWheel.connect (sigc::mem_fun (this, &Launcher::RecvMouseWheel));
7 OnKeyPressed.connect (sigc::mem_fun (this, &Launcher::RecvKeyPressed));
8+ OnEndFocus.connect (sigc::mem_fun (this, &Launcher::exitKeyNavMode));
9
10 QuicklistManager::Default ()->quicklist_opened.connect (sigc::mem_fun(this, &Launcher::RecvQuicklistOpened));
11 QuicklistManager::Default ()->quicklist_closed.connect (sigc::mem_fun(this, &Launcher::RecvQuicklistClosed));
12@@ -360,6 +361,8 @@
13 void
14 Launcher::exitKeyNavMode ()
15 {
16+ if (!_navmod_show_launcher)
17+ return;
18
19 _navmod_show_launcher = false;
20 EnsureHiddenState ();