From 0c036170188273f1a19372ae1984a6658b0a9304 Mon Sep 17 00:00:00 2001
From: AkiraFukushima
Date: Sat, 26 May 2018 23:44:37 +0900
Subject: [PATCH] refs #273 Add a top level menu for new toot
---
src/main/index.js | 15 +++++----------
1 file changed, 5 insertions(+), 10 deletions(-)
diff --git a/src/main/index.js b/src/main/index.js
index c3956d65..4721e85c 100644
--- a/src/main/index.js
+++ b/src/main/index.js
@@ -116,16 +116,11 @@ function createWindow () {
]
},
{
- label: 'Toot',
- submenu: [
- {
- label: 'New Toot',
- accelerator: 'CmdOrCtrl+N',
- click: () => {
- mainWindow.webContents.send('CmdOrCtrl+N')
- }
- }
- ]
+ label: 'New Toot',
+ accelerator: 'CmdOrCtrl+N',
+ click: () => {
+ mainWindow.webContents.send('CmdOrCtrl+N')
+ }
},
{
label: 'Edit',