diff --git a/Application/AppController.h b/Application/AppController.h index 10f25e4ac..10ccd1b8c 100644 --- a/Application/AppController.h +++ b/Application/AppController.h @@ -33,8 +33,6 @@ IBOutlet NSButton *randomizeButton; IBOutlet NSTextField *totalTimeField; - - IBOutlet NSDrawer *infoDrawer; IBOutlet PlaylistView *playlistView; @@ -82,10 +80,6 @@ - (IBAction)feedback:(id)sender; -- (IBAction)toggleInfoDrawer:(id)sender; -- (void)drawerDidOpen:(NSNotification *)notification; -- (void)drawerDidClose:(NSNotification *)notification; - - (void)initDefaults; //Fun stuff diff --git a/Application/AppController.m b/Application/AppController.m index ab8693ade..d2f161728 100644 --- a/Application/AppController.m +++ b/Application/AppController.m @@ -316,27 +316,6 @@ [theApplication replyToOpenOrPrint:NSApplicationDelegateReplySuccess]; } -- (IBAction)toggleInfoDrawer:(id)sender -{ - [mainWindow makeKeyAndOrderFront:self]; - - [infoDrawer toggle:self]; -} - -- (void)drawerDidOpen:(NSNotification *)notification -{ - if ([notification object] == infoDrawer) { - [infoButton setState:NSOnState]; - } -} - -- (void)drawerDidClose:(NSNotification *)notification -{ - if ([notification object] == infoDrawer) { - [infoButton setState:NSOffState]; - } -} - - (IBAction)openLiberapayPage:(id)sender { [[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:@"https://liberapay.com/kode54"]]; diff --git a/Base.lproj/MainMenu.xib b/Base.lproj/MainMenu.xib index a8c495a4e..e624ec114 100644 --- a/Base.lproj/MainMenu.xib +++ b/Base.lproj/MainMenu.xib @@ -566,6 +566,7 @@ + @@ -576,8 +577,6 @@ - - @@ -997,10 +996,10 @@ -