diff --git a/lib/gui/app/app.js b/lib/gui/app/app.js index 42c60b5e..89b886a6 100644 --- a/lib/gui/app/app.js +++ b/lib/gui/app/app.js @@ -489,13 +489,6 @@ app.controller('StateController', function ($rootScope, $scope) { this.currentName = null }) -// Handle keyboard shortcut to open the settings -app.run(($state) => { - electron.ipcRenderer.on('menu:preferences', () => { - $state.go('settings') - }) -}) - // Ensure user settings are loaded before // we bootstrap the Angular.js application angular.element(document).ready(() => { diff --git a/lib/gui/menu.js b/lib/gui/menu.js index e3209e2d..42dce8f3 100644 --- a/lib/gui/menu.js +++ b/lib/gui/menu.js @@ -49,17 +49,6 @@ const buildWindowMenu = (window) => { } } - /** - * @summary Open the main window's settings page - * @example - * showSettings() - */ - const showSettings = () => { - if (window) { - window.webContents.send('menu:preferences') - } - } - const menuTemplate = [ { role: 'editMenu' @@ -111,12 +100,6 @@ const buildWindowMenu = (window) => { label: 'About Etcher' }, { type: 'separator' - }, { - label: 'Preferences', - accelerator: 'Command+,', - click: showSettings - }, { - type: 'separator' }, { role: 'hide' }, { @@ -133,9 +116,6 @@ const buildWindowMenu = (window) => { menuTemplate.unshift({ label: packageJson.displayName, submenu: [ { - label: 'Settings', - click: showSettings - }, { role: 'quit' } ] })