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

        BitWake.ensureHaveApplicationSupportDirectory()
        
        self.setupMenu()
    }

    func applicationWillTerminate(_ aNotification: Notification) {

        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)
    }
}

