mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 02:27:43 +00:00
WindowServer: Rename menu_title to name in IPC API
This is referred to as the name everywhere else, so we should be consistent here.
This commit is contained in:
parent
9dbfba0879
commit
952f6bbb2a
2 changed files with 3 additions and 3 deletions
|
@ -90,9 +90,9 @@ void ConnectionFromClient::notify_about_new_screen_rects()
|
||||||
async_screen_rects_changed(Screen::rects(), Screen::main().index(), wm.window_stack_rows(), wm.window_stack_columns());
|
async_screen_rects_changed(Screen::rects(), Screen::main().index(), wm.window_stack_rows(), wm.window_stack_columns());
|
||||||
}
|
}
|
||||||
|
|
||||||
void ConnectionFromClient::create_menu(i32 menu_id, DeprecatedString const& menu_title)
|
void ConnectionFromClient::create_menu(i32 menu_id, DeprecatedString const& name)
|
||||||
{
|
{
|
||||||
auto menu = Menu::construct(this, menu_id, menu_title);
|
auto menu = Menu::construct(this, menu_id, name);
|
||||||
m_menus.set(menu_id, move(menu));
|
m_menus.set(menu_id, move(menu));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
endpoint WindowServer
|
endpoint WindowServer
|
||||||
{
|
{
|
||||||
create_menu(i32 menu_id, [UTF8] DeprecatedString menu_title) =|
|
create_menu(i32 menu_id, [UTF8] DeprecatedString name) =|
|
||||||
destroy_menu(i32 menu_id) =|
|
destroy_menu(i32 menu_id) =|
|
||||||
|
|
||||||
add_menu(i32 window_id, i32 menu_id) =|
|
add_menu(i32 window_id, i32 menu_id) =|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue