mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 05:39:11 +00:00
Applications: Map Alt+F4 to Quit in FileManager/ProcessManager/Terminal.
This commit is contained in:
parent
7c06431ff7
commit
b0c673265a
Notes:
sideshowbarker
2024-07-19 15:33:53 +09:00
Author: https://github.com/awesomekling
Commit: b0c673265a
6 changed files with 35 additions and 10 deletions
|
@ -64,7 +64,7 @@ int main(int argc, char** argv)
|
|||
auto menubar = make<GMenuBar>();
|
||||
|
||||
auto app_menu = make<GMenu>("FileManager");
|
||||
app_menu->add_action(GAction::create("Quit", String(), [] (const GAction&) {
|
||||
app_menu->add_action(GAction::create("Quit", { Mod_Alt, Key_F4 }, [] (const GAction&) {
|
||||
GApplication::the().quit(0);
|
||||
return;
|
||||
}));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue