mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 22:27:42 +00:00
Applications: Space out SystemMonitor & TextEditor in AboutDialogs
This commit is contained in:
parent
3f254bfbc8
commit
33b8d37dd3
2 changed files with 2 additions and 2 deletions
|
@ -157,7 +157,7 @@ int main(int argc, char** argv)
|
||||||
|
|
||||||
auto help_menu = GMenu::construct("Help");
|
auto help_menu = GMenu::construct("Help");
|
||||||
help_menu->add_action(GAction::create("About", [&](const GAction&) {
|
help_menu->add_action(GAction::create("About", [&](const GAction&) {
|
||||||
GAboutDialog::show("SystemMonitor", load_png("/res/icons/32x32/app-system-monitor.png"), window);
|
GAboutDialog::show("System Monitor", load_png("/res/icons/32x32/app-system-monitor.png"), window);
|
||||||
}));
|
}));
|
||||||
menubar->add_menu(move(help_menu));
|
menubar->add_menu(move(help_menu));
|
||||||
|
|
||||||
|
|
|
@ -244,7 +244,7 @@ TextEditorWidget::TextEditorWidget()
|
||||||
|
|
||||||
auto help_menu = GMenu::construct("Help");
|
auto help_menu = GMenu::construct("Help");
|
||||||
help_menu->add_action(GAction::create("About", [&](const GAction&) {
|
help_menu->add_action(GAction::create("About", [&](const GAction&) {
|
||||||
GAboutDialog::show("TextEditor", load_png("/res/icons/32x32/app-texteditor.png"), window());
|
GAboutDialog::show("Text Editor", load_png("/res/icons/32x32/app-texteditor.png"), window());
|
||||||
}));
|
}));
|
||||||
menubar->add_menu(move(help_menu));
|
menubar->add_menu(move(help_menu));
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue