Support switching Settings view from different action buttons.

This commit is contained in:
Zhongyi Tong
2017-07-09 23:01:46 +08:00
parent a5017456f2
commit d3c2da7961
7 changed files with 43 additions and 12 deletions

View File

@@ -143,7 +143,7 @@ const darwinTpl = [
type: 'separator'
},
{
label: 'Manage Zulip Servers',
label: 'Settings',
accelerator: 'Cmd+,',
click(item, focusedWindow) {
if (focusedWindow) {
@@ -280,7 +280,7 @@ const otherTpl = [
type: 'separator'
},
{
label: 'Manage Zulip Servers',
label: 'Settings',
accelerator: 'Ctrl+,',
click(item, focusedWindow) {
if (focusedWindow) {