summaryrefslogtreecommitdiff
path: root/src/actions.cpp
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2009-02-26 21:18:57 +0100
committerDanny Baumann <dannybaumann@web.de>2009-02-26 21:18:57 +0100
commitc985a27c5b1349673bb210b4afe9c76637736e40 (patch)
tree7171388b9dd511bf28a02b02ae54da70e2d2371c /src/actions.cpp
parent509a5d250fd398f2431433a6743b36628f2db77c (diff)
downloadunity-window-decorator-c985a27c5b1349673bb210b4afe9c76637736e40.tar.gz
unity-window-decorator-c985a27c5b1349673bb210b4afe9c76637736e40.tar.bz2
Remove key binding support from core.
Diffstat (limited to 'src/actions.cpp')
-rw-r--r--src/actions.cpp26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/actions.cpp b/src/actions.cpp
index 8fbf6a7..8ede0cf 100644
--- a/src/actions.cpp
+++ b/src/actions.cpp
@@ -183,32 +183,6 @@ CompScreen::lowerWin (CompAction *action,
}
bool
-CompScreen::runCommandDispatch (CompAction *action,
- CompAction::State state,
- CompOption::Vector &options)
-{
- int index = -1;
- int i = COMP_OPTION_RUN_COMMAND0_KEY;
-
- while (i <= COMP_OPTION_RUN_COMMAND11_KEY)
- {
- if (action == &screen->priv->opt[i].value ().action ())
- {
- index = i - COMP_OPTION_RUN_COMMAND0_KEY +
- COMP_OPTION_COMMAND0;
- break;
- }
-
- i++;
- }
-
- if (index > 0)
- screen->runCommand (screen->priv->opt[index].value ().s ());
-
- return true;
-}
-
-bool
CompScreen::windowMenu (CompAction *action,
CompAction::State state,
CompOption::Vector &options)