Cleanup NSDrawer leftovers from AppController.

CQTexperiment
Dzmitry Neviadomski 2021-01-09 12:47:11 +03:00
parent a112440849
commit 84b473f847
2 changed files with 0 additions and 27 deletions

View File

@ -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

View File

@ -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"]];