diff options
| -rw-r--r-- | shortcuts/CompizShortcutModeller.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/shortcuts/CompizShortcutModeller.cpp b/shortcuts/CompizShortcutModeller.cpp index d792227f9..de2f30d02 100644 --- a/shortcuts/CompizShortcutModeller.cpp +++ b/shortcuts/CompizShortcutModeller.cpp @@ -70,6 +70,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_SHOW_MENUS = "show_menu_bar"; const std::string UNITYSHELL_OPTION_SPREAD_APP_WINDOWS = "spread_app_windows"; const std::string UNITYSHELL_OPTION_SPREAD_APP_WINDOWS_ANYWHERE = "spread_app_windows_anywhere"; const std::string UNITYSHELL_OPTION_ALT_TAB_FORWARD = "alt_tab_forward"; @@ -229,8 +230,9 @@ void CompizModeller::AddMenuHints(std::list<shortcut::AbstractHint::Ptr> &hints) hints.push_back(std::make_shared<shortcut::Hint>(menubar, "", _(" (Hold)"), _("Reveals the application menu."), - shortcut::OptionType::HARDCODED, - "Alt")); + shortcut::OptionType::COMPIZ_KEY, + UNITYSHELL_PLUGIN_NAME, + UNITYSHELL_OPTION_SHOW_MENUS)); hints.push_back(std::make_shared<shortcut::Hint>(menubar, "", "", _("Opens the indicator menu."), |
