summaryrefslogtreecommitdiff
path: root/src/actions.cpp
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2009-02-26 07:04:15 +0100
committerDanny Baumann <dannybaumann@web.de>2009-02-26 07:04:15 +0100
commit839873fe09e0f109c530af79ad9470fc63c42bed (patch)
tree58cdffa2a5bfbd92487949f9d45d8d5d6883a977 /src/actions.cpp
parent10810881d574355422a536fcee9e54d257a3788b (diff)
downloadunity-window-decorator-839873fe09e0f109c530af79ad9470fc63c42bed.tar.gz
unity-window-decorator-839873fe09e0f109c530af79ad9470fc63c42bed.tar.bz2
Adapt core for gnomecompat plugin addition.
Diffstat (limited to 'src/actions.cpp')
-rw-r--r--src/actions.cpp65
1 files changed, 0 insertions, 65 deletions
diff --git a/src/actions.cpp b/src/actions.cpp
index 18f41b2..8fbf6a7 100644
--- a/src/actions.cpp
+++ b/src/actions.cpp
@@ -51,38 +51,6 @@ CompScreen::closeWin (CompAction *action,
}
bool
-CompScreen::mainMenu (CompAction *action,
- CompAction::State state,
- CompOption::Vector &options)
-{
- unsigned int time;
-
- time = CompOption::getIntOptionNamed (options, "time", CurrentTime);
-
- if (screen->priv->grabs.empty ())
- screen->toolkitAction (Atoms::toolkitActionMainMenu, time,
- screen->priv->root, 0, 0, 0);
-
- return true;
-}
-
-bool
-CompScreen::runDialog (CompAction *action,
- CompAction::State state,
- CompOption::Vector &options)
-{
- unsigned int time;
-
- time = CompOption::getIntOptionNamed (options, "time", CurrentTime);
-
- if (screen->priv->grabs.empty ())
- screen->toolkitAction (Atoms::toolkitActionRunDialog, time,
- screen->priv->root , 0, 0, 0);
-
- return true;
-}
-
-bool
CompScreen::unmaximizeWin (CompAction *action,
CompAction::State state,
CompOption::Vector &options)
@@ -241,39 +209,6 @@ CompScreen::runCommandDispatch (CompAction *action,
}
bool
-CompScreen::runCommandScreenshot (CompAction *action,
- CompAction::State state,
- CompOption::Vector &options)
-{
- screen->runCommand (
- screen->priv->opt[COMP_OPTION_SCREENSHOT].value ().s ());
-
- return true;
-}
-
-bool
-CompScreen::runCommandWindowScreenshot (CompAction *action,
- CompAction::State state,
- CompOption::Vector &options)
-{
- screen->runCommand (
- screen->priv->opt[COMP_OPTION_WINDOW_SCREENSHOT].value ().s ());
-
- return true;
-}
-
-bool
-CompScreen::runCommandTerminal (CompAction *action,
- CompAction::State state,
- CompOption::Vector &options)
-{
- screen->runCommand (
- screen->priv->opt[COMP_OPTION_TERMINAL].value ().s ());
-
- return true;
-}
-
-bool
CompScreen::windowMenu (CompAction *action,
CompAction::State state,
CompOption::Vector &options)