From 25526d7f1211663b3dfc452b0f4943ce2a4b5d45 Mon Sep 17 00:00:00 2001 From: Amr Bashir Date: Thu, 27 Jul 2023 20:07:55 +0300 Subject: [PATCH] chore: adjust change files --- .changes/about-metadata-builder.md | 5 ----- .changes/builders.md | 2 +- .changes/context-menu-pos.md | 2 +- .changes/gtk-optional-container.md | 2 +- .changes/menu-item-kind.md | 2 +- .changes/menu-item-trait-name.md | 2 +- 6 files changed, 5 insertions(+), 10 deletions(-) delete mode 100644 .changes/about-metadata-builder.md diff --git a/.changes/about-metadata-builder.md b/.changes/about-metadata-builder.md deleted file mode 100644 index 87b680a..0000000 --- a/.changes/about-metadata-builder.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"muda": "patch" ---- - -Add `AboutMetadataBuilder`. diff --git a/.changes/builders.md b/.changes/builders.md index 48adc92..a3e00f4 100644 --- a/.changes/builders.md +++ b/.changes/builders.md @@ -2,4 +2,4 @@ "muda": "patch" --- -Add `builders` module with `MenuItemBuilder`, `SubmenuBuilder`, `CheckMenuItemBuilder` and `IconMenuItemBuilder`. +Added the `builders` which contains convenient builder types, like `AboutMetadataBuilder`, `MenuItemBuilder`, `SubmenuBuilder` ...etc. diff --git a/.changes/context-menu-pos.md b/.changes/context-menu-pos.md index 69c5fd3..ac3b25d 100644 --- a/.changes/context-menu-pos.md +++ b/.changes/context-menu-pos.md @@ -2,4 +2,4 @@ "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` type instead of `x` and `y`. if `None` is provided, it will use the current cursor position. diff --git a/.changes/gtk-optional-container.md b/.changes/gtk-optional-container.md index b8f5600..cd52ea5 100644 --- a/.changes/gtk-optional-container.md +++ b/.changes/gtk-optional-container.md @@ -2,4 +2,4 @@ "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. \ No newline at end of file +**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. diff --git a/.changes/menu-item-kind.md b/.changes/menu-item-kind.md index b6d57f5..36253d9 100644 --- a/.changes/menu-item-kind.md +++ b/.changes/menu-item-kind.md @@ -2,4 +2,4 @@ "muda": "minor" --- -Removed `MenuItemType` enum and replaced with `MenuItemKind` enum. `Menu::items` and `Submenu::items` will now return `Vec` instead of `Vec>` +**Breaking Change**: Removed `MenuItemType` enum and replaced with `MenuItemKind` enum. `Menu::items` and `Submenu::items` methods will now return `Vec` instead of `Vec>` diff --git a/.changes/menu-item-trait-name.md b/.changes/menu-item-trait-name.md index 4728e87..c0da5c8 100644 --- a/.changes/menu-item-trait-name.md +++ b/.changes/menu-item-trait-name.md @@ -2,4 +2,4 @@ "muda": "minor" --- -Changed `MenuItemExt` trait name to `IsMenuItem` +**Breaking Change**: Changed `MenuItemExt` trait name to `IsMenuItem`