From 064e8994870180d6c0389cb47642839aa0412bfb Mon Sep 17 00:00:00 2001
From: AkiraFukushima
Date: Mon, 28 May 2018 08:37:16 +0900
Subject: [PATCH] Revert "closes #273 Add a top level menu for new toot"
---
src/main/index.js | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/src/main/index.js b/src/main/index.js
index 15b55124..9115145c 100644
--- a/src/main/index.js
+++ b/src/main/index.js
@@ -116,11 +116,16 @@ function createWindow () {
]
},
{
- label: 'New Toot',
- accelerator: 'CmdOrCtrl+N',
- click: () => {
- mainWindow.webContents.send('CmdOrCtrl+N')
- }
+ label: 'Toot',
+ submenu: [
+ {
+ label: 'New Toot',
+ accelerator: 'CmdOrCtrl+N',
+ click: () => {
+ mainWindow.webContents.send('CmdOrCtrl+N')
+ }
+ }
+ ]
},
{
label: 'Edit',