mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 09:30:24 +00:00
Browser: Make the about menu item look a little nicer
This commit is contained in:
parent
da536c8d22
commit
f0a59ab7fb
Notes:
sideshowbarker
2024-07-19 00:06:34 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/f0a59ab7fb9
1 changed files with 2 additions and 1 deletions
|
@ -25,6 +25,7 @@
|
|||
*/
|
||||
|
||||
#include "WindowActions.h"
|
||||
#include <LibGUI/Icon.h>
|
||||
#include <LibGUI/Window.h>
|
||||
#include <LibGfx/Bitmap.h>
|
||||
|
||||
|
@ -64,7 +65,7 @@ WindowActions::WindowActions(GUI::Window& window)
|
|||
&window);
|
||||
|
||||
m_about_action = GUI::Action::create(
|
||||
"About", [this](const GUI::Action&) {
|
||||
"About Browser", GUI::Icon::default_icon("app-browser").bitmap_for_size(16), [this](const GUI::Action&) {
|
||||
if (on_about)
|
||||
on_about();
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue