Skip to content

Add position attribute for menu items#1373

Merged
zcbenz merged 1 commit intoelectron:masterfrom
FoldingText:position-menu-items
Apr 13, 2015
Merged

Add position attribute for menu items#1373
zcbenz merged 1 commit intoelectron:masterfrom
FoldingText:position-menu-items

Conversation

@jessegrosjean
Copy link
Copy Markdown
Contributor

This commit adds a position attribute for menu items defined in menu templates. When the final menu is built the position attribute is used to determine menu item positions in a similar design to how Eclipse positions menu items.

The intention is to give Atom packages more control over where there menu items end up, instead of just being inserted at the end of each menu.

This commit adds a position attribute for menu items defined in menu
templates. When the final menu is built the position attribute is used
to determine menu item positions in a similar design to how Eclipse
positions menu items.
@zcbenz
Copy link
Copy Markdown
Contributor

zcbenz commented Apr 13, 2015

Looks good to me, thanks!

zcbenz added a commit that referenced this pull request Apr 13, 2015
Add position attribute for menu items
@zcbenz zcbenz merged commit 7a97488 into electron:master Apr 13, 2015
zcbenz added a commit that referenced this pull request Apr 13, 2015
* Don't pollute Menu API.
* Add examples in docs.
* Moves the docs from menu-item.md to menu.md.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants