diff options
| author | Andrea Azzarone <azzaronea@gmail.com> | 2012-09-11 12:38:31 +0200 |
|---|---|---|
| committer | Andrea Azzarone <azzaronea@gmail.com> | 2012-09-11 12:38:31 +0200 |
| commit | 7c53c021950806c1ecd66513fd888759bf929dbe (patch) | |
| tree | adf97f9b637d7a31a21dd1ec5c95e5b90aba4965 /plugins/unityshell/src | |
| parent | c87838937ae511affea5cb2924baa5d90cbd5bef (diff) | |
Add unit-tests.
(bzr r2675.3.2)
Diffstat (limited to 'plugins/unityshell/src')
| -rw-r--r-- | plugins/unityshell/src/unityshell.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/unityshell/src/unityshell.cpp b/plugins/unityshell/src/unityshell.cpp index 0ec87f497..ba6684a90 100644 --- a/plugins/unityshell/src/unityshell.cpp +++ b/plugins/unityshell/src/unityshell.cpp @@ -25,6 +25,7 @@ #include <Nux/BaseWindow.h> #include <Nux/WindowCompositor.h> +#include "BaseWindowRaiserImp.h" #include "IconRenderer.h" #include "Launcher.h" #include "LauncherIcon.h" @@ -2960,7 +2961,8 @@ void UnityScreen::initLauncher() // Setup Shortcut Hint InitHints(); - shortcut_controller_ = std::make_shared<shortcut::Controller>(hints_); + auto base_window_raiser_ = std::make_shared<shortcut::BaseWindowRaiserImp>(); + shortcut_controller_ = std::make_shared<shortcut::Controller>(hints_, base_window_raiser_); AddChild(shortcut_controller_.get()); AddChild(dash_controller_.get()); |
