Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

Commit

Permalink
Menu and shortcut improvements for OS X
Browse files Browse the repository at this point in the history
See #38
  • Loading branch information
brrd committed Mar 26, 2016
1 parent 560d648 commit 2269844
Showing 1 changed file with 52 additions and 5 deletions.
57 changes: 52 additions & 5 deletions app/menu-window.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,41 @@
[
{
"label": "Abricotine",
"platform": "darwin",
"submenu": [
{
"label": "About Abricotine",
"command": "about"
},
{
"type": "separator"
},
{
"label": "Edit Preferences",
"accelerator": "CmdOrCtrl+,",
"command": "editConfigFile"
},
{
"label": "Open Config Directory",
"command": "openConfigDir"
},
{
"type": "separator"
},
{
"label": "Hide Abricotine",
"role": "hide"
},
{
"label": "Hide Others",
"role": "hideothers"
},
{
"label": "Show All",
"role": "unhide"
}
]
},
{
"label": "&File",
"submenu": [
Expand Down Expand Up @@ -150,15 +187,18 @@
"checked": "startup-commands:autoCloseBrackets"
},
{
"type": "separator"
"type": "separator",
"platform": "linux, win32"
},
{
"label": "Edit Preferences",
"command": "editConfigFile"
"command": "editConfigFile",
"platform": "linux, win32"
},
{
"label": "Open Config Directory",
"command": "openConfigDir"
"command": "openConfigDir",
"platform": "linux, win32"
}
]
},
Expand All @@ -179,7 +219,7 @@
},
{
"label": "Strikethrough",
"accelerator": "CmdOrCtrl+,",
"accelerator": "CmdOrCtrl+/",
"command": "format",
"parameters": "strikethrough"
},
Expand Down Expand Up @@ -635,12 +675,19 @@
}
]
},
{
"label": "&Window",
"role": "window",
"platform": "darwin"
},
{
"label": "&Help",
"role": "help",
"submenu": [
{
"label": "About Abricotine",
"command": "about"
"command": "about",
"platform": "linux, win32"
},
{
"label": "Visit Homepage",
Expand Down

0 comments on commit 2269844

Please sign in to comment.