From ef0ba18f751bf4382cd1c1bf8870d483e51f2a04 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Wed, 29 Jun 2016 19:58:10 +0300 Subject: [PATCH] added key to toggle base ribbon... (not sure about this) Signed-off-by: Alex A. Naanou --- ui (gen4)/features/keyboard.js | 3 +++ ui (gen4)/lib/features.js | 1 + 2 files changed, 4 insertions(+) diff --git a/ui (gen4)/features/keyboard.js b/ui (gen4)/features/keyboard.js index b8f01d2c..63fc7110 100755 --- a/ui (gen4)/features/keyboard.js +++ b/ui (gen4)/features/keyboard.js @@ -298,6 +298,9 @@ module.GLOBAL_KEYBOARD = { default: 'toggleBookmark', ctrl: 'toggleTheme!', alt: 'browseActions: "/Bookmark/" -- Show bookmark menu', + + // XXX not sure if this is the right way to go... + shift: 'setBaseRibbon', }, E: { default: 'openInExtenalEditor', diff --git a/ui (gen4)/lib/features.js b/ui (gen4)/lib/features.js index 389e44c4..97ed26ec 100755 --- a/ui (gen4)/lib/features.js +++ b/ui (gen4)/lib/features.js @@ -499,6 +499,7 @@ var FeatureSetProto = { !res && excluded.push(n) + // warn the user... // XXX not sure if this is the right place for this... && console.warn( 'Excluding unaplicable:', n, '(reccomended to exclude manually)')