diff options
| author | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2015-10-27 18:06:16 +0100 |
|---|---|---|
| committer | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2015-10-27 18:06:16 +0100 |
| commit | 3ec9ed31729eea4e9fb76fab937553a6c6902f09 (patch) | |
| tree | 8ae48b45160fff1e469bf9619002914f9afd5621 /shortcuts | |
| parent | 1b76a4c44a84fe1a497248003b97e06d7c0f3474 (diff) | |
CompizShortcutModeller: show option to spread all application windows
(bzr r4027.2.3)
Diffstat (limited to 'shortcuts')
| -rw-r--r-- | shortcuts/CompizShortcutModeller.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/shortcuts/CompizShortcutModeller.cpp b/shortcuts/CompizShortcutModeller.cpp index bc1f64fc9..2ee1e14c7 100644 --- a/shortcuts/CompizShortcutModeller.cpp +++ b/shortcuts/CompizShortcutModeller.cpp @@ -68,6 +68,7 @@ namespace const std::string UNITYSHELL_OPTION_LAUNCHER_SWITCHER_FORWARD = "launcher_switcher_forward"; const std::string UNITYSHELL_OPTION_SHOW_HUD = "show_hud"; const std::string UNITYSHELL_OPTION_PANEL_FIRST_MENU = "panel_first_menu"; + const std::string UNITYSHELL_OPTION_SPREAD_APP_WINDOWS = "spread_app_windows"; const std::string UNITYSHELL_OPTION_ALT_TAB_FORWARD = "alt_tab_forward"; const std::string UNITYSHELL_OPTION_ALT_TAB_FORWARD_ALL = "alt_tab_forward_all"; const std::string UNITYSHELL_OPTION_ALT_TAB_NEXT_WINDOW = "alt_tab_next_window"; @@ -316,6 +317,14 @@ void CompizModeller::AddWindowsHints(std::list<shortcut::AbstractHint::Ptr> &hin } hints.push_back(std::make_shared<shortcut::Hint>(windows, "", "", + (ws_enabled ? + _("Spreads all windows of the focused application in the current workspace.") : + _("Spreads all windows of the focused application.")), + shortcut::OptionType::COMPIZ_KEY, + UNITYSHELL_PLUGIN_NAME, + UNITYSHELL_OPTION_SPREAD_APP_WINDOWS)); + + hints.push_back(std::make_shared<shortcut::Hint>(windows, "", "", _("Minimises all windows."), shortcut::OptionType::COMPIZ_KEY, CORE_PLUGIN_NAME, |
