diff --git a/src/browser/components/SettingsPage.jsx b/src/browser/components/SettingsPage.jsx index 4e5e6bdd..c8143508 100644 --- a/src/browser/components/SettingsPage.jsx +++ b/src/browser/components/SettingsPage.jsx @@ -198,16 +198,6 @@ const SettingsPage = React.createClass({ ); var options = []; - if (process.platform === 'win32' || process.platform === 'linux') { - options.push( - {'Hide menu bar (Press Alt to show menu bar)'}); - } if (process.platform === 'darwin' || process.platform === 'linux') { options.push( {'Start app on login.'}); } - if (process.platform === 'darwin' || process.platform === 'linux') { + if (process.platform === 'linux') { options.push( {this.state.trayWasVisible || !this.state.showTrayIcon ? 'Leave app running in notification area when the window is closed' : 'Leave app running in notification area when the window is closed (available on next restart)'}); } - if (process.platform === 'win32') { - options.push( - {'Toggle window visibility when clicking on the tray icon.'}); - } - if (process.platform === 'darwin' || process.platform === 'win32') { options.push( { - describe('Hide Menu Bar', () => { + describe.skip('Hide Menu Bar', () => { it('should appear on win32 or linux', () => { const expected = (process.platform === 'win32' || process.platform === 'linux'); env.addClientCommands(this.app.client); @@ -152,8 +152,8 @@ describe('browser/settings.html', function desc() { }); describe('Minimize to tray', () => { - it('should appear on darwin or linux', () => { - const expected = (process.platform === 'darwin' || process.platform === 'linux'); + it('should appear on linux', () => { + const expected = (process.platform === 'linux'); env.addClientCommands(this.app.client); return this.app.client. loadSettingsPage(). @@ -161,7 +161,7 @@ describe('browser/settings.html', function desc() { }); }); - describe('Toggle window visibility when clicking on the tray icon', () => { + describe.skip('Toggle window visibility when clicking on the tray icon', () => { it('should appear on win32', () => { const expected = (process.platform === 'win32'); env.addClientCommands(this.app.client);