Skip to content

Conversation

@ychin
Copy link
Member

@ychin ychin commented Dec 7, 2020

Fix WinBar menus to not create menu items in the main menu bar.

Also, fix an off-by-one error when adding new menu items to the main menu when adding the menus using priorities to insert them in the middle. This also allowed adding a menu (when using index 0) that goes before the main "MacVim" app menu which is quite wrong as the app menu should always be the first one.

Fix #918

Fix WinBar menus to not create menu items in the main menu bar.

Also, fix an off-by-one error when adding new menu items to the main
menu when adding the menus using priorities to insert them in the
middle. This also allowed adding a menu (when using index 0) that goes
before the main "MacVim" app menu which is quite wrong as the app menu
should always be the first one.

Fix macvim-dev#918
@ychin ychin added this to the snapshot-167 milestone Dec 7, 2020
@ychin ychin merged commit 056df96 into macvim-dev:master Dec 7, 2020
@ychin ychin deleted the fix-winbar-menu-off-by-one branch December 7, 2020 11:37
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.

WinBar adds another MacVim menu in the menu bar

1 participant