chore: adjust change files

This commit is contained in:
Amr Bashir 2023-07-27 20:07:55 +03:00
parent 20c05ceae6
commit 25526d7f12
No known key found for this signature in database
GPG key ID: BBD7A47A2003FF33
6 changed files with 5 additions and 10 deletions

View file

@ -1,5 +0,0 @@
---
"muda": "patch"
---
Add `AboutMetadataBuilder`.

View file

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

View file

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

View file

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

View file

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

View file

@ -2,4 +2,4 @@
"muda": "minor" "muda": "minor"
--- ---
Changed `MenuItemExt` trait name to `IsMenuItem` **Breaking Change**: Changed `MenuItemExt` trait name to `IsMenuItem`