mirror of
https://github.com/italicsjenga/muda.git
synced 2024-12-23 20:11:29 +11:00
chore: adjust change files
This commit is contained in:
parent
20c05ceae6
commit
25526d7f12
|
@ -1,5 +0,0 @@
|
||||||
---
|
|
||||||
"muda": "patch"
|
|
||||||
---
|
|
||||||
|
|
||||||
Add `AboutMetadataBuilder`.
|
|
|
@ -2,4 +2,4 @@
|
||||||
"muda": "patch"
|
"muda": "patch"
|
||||||
---
|
---
|
||||||
|
|
||||||
Add `builders` module with `MenuItemBuilder`, `SubmenuBuilder`, `CheckMenuItemBuilder` and `IconMenuItemBuilder`.
|
Added the `builders` which contains convenient builder types, like `AboutMetadataBuilder`, `MenuItemBuilder`, `SubmenuBuilder` ...etc.
|
||||||
|
|
|
@ -2,4 +2,4 @@
|
||||||
"muda": "minor"
|
"muda": "minor"
|
||||||
---
|
---
|
||||||
|
|
||||||
**Breaking Change**: `ContextMenu::show_context_menu_for_hwnd`, `ContextMenu::show_context_menu_for_gtk_window` and `ContextMenu::show_context_menu_for_nsview` has been changed to take an optional `Position` type instead of `x` and `y` and if `None` is provided, it will use the current cursor position.
|
**Breaking Change**: `ContextMenu::show_context_menu_for_hwnd`, `ContextMenu::show_context_menu_for_gtk_window` and `ContextMenu::show_context_menu_for_nsview` has been changed to take an optional `Into<Position>` type instead of `x` and `y`. if `None` is provided, it will use the current cursor position.
|
||||||
|
|
|
@ -2,4 +2,4 @@
|
||||||
"muda": "minor"
|
"muda": "minor"
|
||||||
---
|
---
|
||||||
|
|
||||||
Changed `Menu::init_for_gtk_window` to accept a second argument for the container to which the menu bar should be added, if none was provided it will add it to the window directly. The method will no longer create a `gtk::Box` and append it to the window, instead you should add the box to the window yourself, then pass a reference to it the method so it can be used as the container for the menu bar.
|
**Breaking Change**: Changed `Menu::init_for_gtk_window` to accept a second argument for a container to which the menu bar should be added, if `None` was provided, it will add it to the window directly. The method will no longer create a `gtk::Box` and append it to the window, instead you should add the box to the window yourself, then pass a reference to it to the method so it can be used as the container for the menu bar.
|
||||||
|
|
|
@ -2,4 +2,4 @@
|
||||||
"muda": "minor"
|
"muda": "minor"
|
||||||
---
|
---
|
||||||
|
|
||||||
Removed `MenuItemType` enum and replaced with `MenuItemKind` enum. `Menu::items` and `Submenu::items` will now return `Vec<MenuItemKind>` instead of `Vec<Box<dyn MenuItemExt>>`
|
**Breaking Change**: Removed `MenuItemType` enum and replaced with `MenuItemKind` enum. `Menu::items` and `Submenu::items` methods will now return `Vec<MenuItemKind>` instead of `Vec<Box<dyn MenuItemExt>>`
|
||||||
|
|
|
@ -2,4 +2,4 @@
|
||||||
"muda": "minor"
|
"muda": "minor"
|
||||||
---
|
---
|
||||||
|
|
||||||
Changed `MenuItemExt` trait name to `IsMenuItem`
|
**Breaking Change**: Changed `MenuItemExt` trait name to `IsMenuItem`
|
||||||
|
|
Loading…
Reference in a new issue