-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[#6891] Add support for setting the icon of a submenu #7091
Conversation
Signed-off-by: Vivien Jovet <vivien.jovet@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks good to me.
I've restarted a build, if it is green and no one object then merging.
@eclipse-theia/ecd-theia-committers maybe someone have an idea why linux build is failing, something with ubuntu |
Looks like an internal Travis issue, happening while setting-up the executor. I'll restart it and hopefully this glitch is gone. |
I tried to build these changes locally on |
It passed now: https://travis-ci.com/eclipse-theia/theia/jobs/284684985 |
@marcdumais-work @RomanNikitenko thank you! |
What it does
This PR adds support for setting the icon class of a submenu when registering it via
MenuModelRegistry
.How to test
Examples:
registry.registerSubmenu(CommonMenus.FILE_SETTINGS_SUBMENU, 'Settings', { iconClass: "theia-collapse-all-icon" });
registry.registerSubmenu(NavigatorContextMenu.OPEN_WITH, 'Open With', { iconClass: "theia-collapse-all-icon" });
Signed-off-by: Vivien Jovet vivien.jovet@gmail.com