1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 10:38:13 +00:00

Browser: Add Go menu and move Bookmarks bar toggle to View

This commit is contained in:
thankyouverycool 2021-02-26 07:05:41 -05:00 committed by Andreas Kling
parent 38e70d2874
commit fb5cdc670f
3 changed files with 14 additions and 6 deletions

View file

@ -70,8 +70,9 @@ WindowActions::WindowActions(GUI::Window& window)
on_about();
},
&window);
m_show_bookmarks_bar_action = GUI::Action::create_checkable(
"Show bookmarks bar",
"Bookmarks bar", { Mod_Ctrl, Key_B },
[this](auto& action) {
if (on_show_bookmarks_bar)
on_show_bookmarks_bar(action);