IDEA-164993 Support for macOS special character (emoji) insertion popover - fix ActionsTreeTest

This commit is contained in:
Dmitry Batrak
2017-02-02 18:32:31 +03:00
parent 74921ef65b
commit f740086041
2 changed files with 2 additions and 0 deletions
@@ -27,6 +27,7 @@ public class MacEmojiAndSymbolsInputAction extends DumbAwareAction {
public void update(AnActionEvent e) {
Presentation presentation = e.getPresentation();
presentation.setEnabledAndVisible(SystemInfo.isMac);
// it's not currently possible to use &, when text is set in resource bundle
presentation.setText("Emoji & Symbols", false);
}
@@ -1577,4 +1577,5 @@ action.ToggleDistractionFreeMode.exit=Exit Distraction Free Mode
action.TogglePresentationMode.exit=Exit Presentation Mode
action.TogglePresentationMode.enter=Enter Presentation Mode
action.EmojiAndSymbols.text=Emoji and Symbols
action.EmojiAndSymbols.description=Input special characters using macOS system palette