From f58a1eea0c004db0966858b46884e5f78fd40780 Mon Sep 17 00:00:00 2001 From: FivePixels Date: Fri, 4 Jan 2019 19:12:52 -0600 Subject: Remind me not to fuck things up next time --- DWA140Menu/AppDelegate.swift | 4 ++++ DWA140Menu/Base.lproj/Main.storyboard | 31 +++++-------------------------- 2 files changed, 9 insertions(+), 26 deletions(-) diff --git a/DWA140Menu/AppDelegate.swift b/DWA140Menu/AppDelegate.swift index adb93b3..28f62d1 100644 --- a/DWA140Menu/AppDelegate.swift +++ b/DWA140Menu/AppDelegate.swift @@ -127,6 +127,10 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserNotificationCenterDele return true } + func applicationDidFinishLaunching(_ notification: Notification) { + constructMenu() + } + func setStatusIcon(icon: String) { if let button = statusItem.button { if button.image?.name() != icon { diff --git a/DWA140Menu/Base.lproj/Main.storyboard b/DWA140Menu/Base.lproj/Main.storyboard index 5744e11..409c011 100644 --- a/DWA140Menu/Base.lproj/Main.storyboard +++ b/DWA140Menu/Base.lproj/Main.storyboard @@ -345,37 +345,17 @@ - - - - - - - - - - - - - - - + + + - - - - - - - - - - + + @@ -675,7 +655,6 @@ - -- cgit v1.2.3