Skip to content

Commit

Permalink
fix(ux): simplify tool menu
Browse files Browse the repository at this point in the history
  • Loading branch information
akx authored and lwouis committed Jan 3, 2020
1 parent 15eb37b commit de7f428
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions alt-tab-macos/ui/StatusItem.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,12 @@ class StatusItem {
let item = NSStatusBar.system.statusItem(withLength: NSStatusItem.variableLength)
item.button!.title = Application.name
item.menu = NSMenu()
item.menu!.addItem(
withTitle: "Version #VERSION#",
action: nil,
keyEquivalent: "")
item.menu!.addItem(
withTitle: "Preferences…",
action: #selector(application.showPreferencesPanel),
keyEquivalent: ",")
item.menu!.addItem(
withTitle: "Quit \(ProcessInfo.processInfo.processName)",
withTitle: "Quit \(Application.name) #VERSION#",
action: #selector(NSApplication.terminate(_:)),
keyEquivalent: "q")
return item
Expand Down

0 comments on commit de7f428

Please sign in to comment.