Add access to settings through tray menu

This commit is contained in:
Thomas de Saint-Exupéry
2016-08-23 15:25:58 +02:00
parent 0878e45dcd
commit fd80b758ed
3 changed files with 10 additions and 0 deletions

View File

@@ -16,6 +16,7 @@ Release date: TBD
- Invalidate cache before load, to make server upgrades easy - Invalidate cache before load, to make server upgrades easy
- Removed misleading shortcuts from tray menu, as they didn't work - Removed misleading shortcuts from tray menu, as they didn't work
- Ctrl/Command+F puts cursor in search box to search in current channel. - Ctrl/Command+F puts cursor in search box to search in current channel.
- Add access to settings through tray menu
#### Windows #### Windows
- Added an option to toogle the red dot icon for unread messages (default is on). - Added an option to toogle the red dot icon for unread messages (default is on).

View File

@@ -78,6 +78,7 @@ You have to configure the application to interact with your teams.
- Windows: Press `Alt` key to bring up the menu at the top of the window, then click `File -> Settings`. - Windows: Press `Alt` key to bring up the menu at the top of the window, then click `File -> Settings`.
- OS X: Click `Mattermost` from the menu at the top of the screen, then click `Preferences...`. - OS X: Click `Mattermost` from the menu at the top of the screen, then click `Preferences...`.
- Linux: Click `File -> Settings` on the menu. - Linux: Click `File -> Settings` on the menu.
- If tray menu : Right-click on tray icon and click `Settings`
2. Press `+` button next to the "Teams" label. 2. Press `+` button next to the "Teams" label.

View File

@@ -28,6 +28,14 @@ function createTemplate(mainWindow, config) {
}; };
}), { }), {
type: 'separator' type: 'separator'
}, {
label: 'Settings',
click: () => {
mainWindow.loadURL('file://' + __dirname + '/browser/settings.html');
mainWindow.show();
}
}, {
type: 'separator'
}, { }, {
role: 'quit' role: 'quit'
} }