mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-03 22:59:33 +00:00
GMenu: Update apps now that you can create a nameless GMenu
We had many context menus with names, simply because you were forced to give them names.
This commit is contained in:
parent
5eb2c138e2
commit
11f2e7cd5c
Notes:
sideshowbarker
2024-07-19 12:07:28 +09:00
Author: https://github.com/awesomekling
Commit: 11f2e7cd5c
7 changed files with 7 additions and 7 deletions
|
@ -151,7 +151,7 @@ int main(int argc, char** argv)
|
|||
process_menu->add_action(continue_action);
|
||||
menubar->add_menu(move(process_menu));
|
||||
|
||||
auto process_context_menu = make<GMenu>("Process context menu");
|
||||
auto process_context_menu = make<GMenu>();
|
||||
process_context_menu->add_action(kill_action);
|
||||
process_context_menu->add_action(stop_action);
|
||||
process_context_menu->add_action(continue_action);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue