Archived
0
0
Fork 0

feat: added license information

This commit is contained in:
Daryl Ronningen 2021-12-16 13:56:44 -07:00
parent 7b0db53886
commit d59c0181fa
Signed by: Daryl Ronningen
GPG key ID: FD23F0C934A5EC6B

View file

@ -226,11 +226,6 @@ namespace chord
}
};
userListList.OpenSelectedItem += args =>
{
};
Application.Top.KeyPress += async args =>
{
switch (ShortcutHelper.GetModifiersKey(args.KeyEvent)) {
@ -323,7 +318,13 @@ namespace chord
{
new MenuBarItem("File", new[]
{
new MenuItem("Quit", "", () => { Application.Top.Running = false; })
new MenuItem("_Quit", "Quit the Application", () => { Application.Top.Running = false; })
}),
new MenuBarItem("Help", new[]
{
new MenuItem("_License", "See the Application License", () => {
MessageBox.Query("License", "chord Copyright (C) 2021 Daryl Ronningen\nThis program comes with ABSOLUTELY NO WARRANTY; for details see section `15` of the GPL license\nThis is free software, and you are welcome to redistribute it under certain conditions; for details see section `2` of the GPL license", "Close");
})
})
});
}