feat: added license information
This commit is contained in:
parent
7b0db53886
commit
d59c0181fa
1 changed files with 7 additions and 6 deletions
13
Program.cs
13
Program.cs
|
@ -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");
|
||||
})
|
||||
})
|
||||
});
|
||||
}
|
||||
|
|
Reference in a new issue