Skip to content
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

Merged
merged 1 commit into from
Feb 7, 2020

Conversation

Hanksha
Copy link
Contributor

@Hanksha Hanksha commented Feb 6, 2020

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" });
Screen Shot 2020-02-06 at 10 32 57 AM
registry.registerSubmenu(NavigatorContextMenu.OPEN_WITH, 'Open With', { iconClass: "theia-collapse-all-icon" });
Screen Shot 2020-02-06 at 10 24 58 AM

Signed-off-by: Vivien Jovet vivien.jovet@gmail.com

@akosyakov akosyakov added the menus issues related to the menu label Feb 6, 2020
Signed-off-by: Vivien Jovet <vivien.jovet@gmail.com>
Copy link
Member

@akosyakov akosyakov left a 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.

@akosyakov
Copy link
Member

@eclipse-theia/ecd-theia-committers maybe someone have an idea why linux build is failing, something with ubuntu

@marcdumais-work
Copy link
Contributor

@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.

@RomanNikitenko
Copy link
Contributor

I tried to build these changes locally on ubuntu 18.04.1 LTS and I have no problems related to the build.

@marcdumais-work
Copy link
Contributor

Looks like an internal Travis issue, happening while setting-up the executor. I'll restart it and hopefully this glitch is gone.

It passed now: https://travis-ci.com/eclipse-theia/theia/jobs/284684985

@akosyakov
Copy link
Member

@marcdumais-work @RomanNikitenko thank you!

@akosyakov akosyakov merged commit d5f3262 into eclipse-theia:master Feb 7, 2020
@vince-fugnitto vince-fugnitto mentioned this pull request Feb 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
menus issues related to the menu
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants