         self.menu._setHasPadding(false, on: .minY)
         self.menu._setHasPadding(false, on: .maxY)
     }
+    
+    private func setupSettingsWindow() {
+        let storyboard = NSStoryboard(name: "Main", bundle: nil)
+        self.settingsWindow = storyboard.instantiateController(withIdentifier: "settingsWindow") as? NSWindowController
+    }
+    
+    public func showSettingsWindow() {
+        self.settingsWindow?.showWindow(self)
+    }
 }
 

        BitWake.ensureHaveApplicationSupportDirectory()
        
        self.setupMenu()
    }

    func applicationWillTerminate(_ aNotification: Notification) {

    let statusItem = NSStatusBar.system().statusItem(withLength: NSVariableStatusItemLength)
    @IBOutlet weak var menu: NSMenu!
    
    public var settingsWindow: NSWindowController?
    var walletsViewController: WalletsViewController?
    var buttonsBarViewController: ButtonsBarViewController?

