-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
3 additions
and
1,547 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* Copyright (C) 2005 - 2007 Stephen F. Booth <[email protected]> | ||
* Copyright (C) 2005 - 2020 Stephen F. Booth <[email protected]> | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
|
@@ -22,7 +22,6 @@ extern NSString * GeneralPreferencesToolbarItemIdentifier; | |
extern NSString * FormatsPreferencesToolbarItemIdentifier; | ||
extern NSString * OutputPreferencesToolbarItemIdentifier; | ||
extern NSString * RipperPreferencesToolbarItemIdentifier; | ||
extern NSString * MusicBrainzPreferencesToolbarItemIdentifier; | ||
extern NSString * TaggingPreferencesToolbarItemIdentifier; | ||
extern NSString * AlbumArtPreferencesToolbarItemIdentifier; | ||
extern NSString * iTunesPreferencesToolbarItemIdentifier; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* Copyright (C) 2005 - 2007 Stephen F. Booth <[email protected]> | ||
* Copyright (C) 2005 - 2020 Stephen F. Booth <[email protected]> | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
|
@@ -26,7 +26,6 @@ | |
NSString *FormatsPreferencesToolbarItemIdentifier = @"org.sbooth.Max.Preferences.Toolbar.Formats"; | ||
NSString *OutputPreferencesToolbarItemIdentifier = @"org.sbooth.Max.Preferences.Toolbar.Output"; | ||
NSString *TaggingPreferencesToolbarItemIdentifier = @"org.sbooth.Max.Preferences.Toolbar.Tagging"; | ||
NSString *MusicBrainzPreferencesToolbarItemIdentifier = @"org.sbooth.Max.Preferences.Toolbar.MusicBrainz"; | ||
NSString *RipperPreferencesToolbarItemIdentifier = @"org.sbooth.Max.Preferences.Toolbar.Ripper"; | ||
NSString *AlbumArtPreferencesToolbarItemIdentifier = @"org.sbooth.Max.Preferences.Toolbar.AlbumArt"; | ||
NSString *iTunesPreferencesToolbarItemIdentifier = @"org.sbooth.Max.Preferences.Toolbar.iTunes"; | ||
|
@@ -51,7 +50,7 @@ + (void) initialize | |
defaultsDictionary = [NSMutableDictionary dictionaryWithCapacity:20]; | ||
defaultFiles = [NSArray arrayWithObjects:@"ApplicationControllerDefaults", @"MediaControllerDefaults", | ||
@"ComparisonRipperDefaults", @"ParanoiaDefaults", | ||
@"AlbumArtDefaults", @"MusicBrainzDefaults", nil]; | ||
@"AlbumArtDefaults", nil]; | ||
// Add the default values as resettable | ||
for(i = 0; i < [defaultFiles count]; ++i) { | ||
defaultsPath = [[NSBundle mainBundle] pathForResource:[defaultFiles objectAtIndex:i] ofType:@"plist"]; | ||
|
@@ -191,17 +190,6 @@ - (NSToolbarItem *) toolbar:(NSToolbar *)toolbar itemForItemIdentifier:(NSString | |
[toolbarItem setToolTip: NSLocalizedStringFromTable(@"Specify custom tag names for FLAC, Ogg Vorbis and Monkey's Audio files", @"Preferences", @"")]; | ||
[toolbarItem setImage: [NSImage imageNamed:@"TaggingToolbarImage"]]; | ||
|
||
[toolbarItem setTarget:self]; | ||
[toolbarItem setAction:@selector(selectPreferencePaneUsingToolbar:)]; | ||
} | ||
else if([itemIdentifier isEqualToString:MusicBrainzPreferencesToolbarItemIdentifier]) { | ||
toolbarItem = [[[NSToolbarItem alloc] initWithItemIdentifier:itemIdentifier] autorelease]; | ||
|
||
[toolbarItem setLabel: NSLocalizedStringFromTable(@"MusicBrainz", @"Preferences", @"")]; | ||
[toolbarItem setPaletteLabel: NSLocalizedStringFromTable(@"MusicBrainz", @"Preferences", @"")]; | ||
[toolbarItem setToolTip: NSLocalizedStringFromTable(@"Specify the server used by MusicBrainz to retrieve disc information", @"Preferences", @"")]; | ||
[toolbarItem setImage: [NSImage imageNamed:@"MusicBrainz"]]; | ||
|
||
[toolbarItem setTarget:self]; | ||
[toolbarItem setAction:@selector(selectPreferencePaneUsingToolbar:)]; | ||
} | ||
|
@@ -263,7 +251,6 @@ - (NSArray *) toolbarDefaultItemIdentifiers:(NSToolbar *)toolbar | |
FormatsPreferencesToolbarItemIdentifier, | ||
OutputPreferencesToolbarItemIdentifier, | ||
RipperPreferencesToolbarItemIdentifier, | ||
MusicBrainzPreferencesToolbarItemIdentifier, | ||
TaggingPreferencesToolbarItemIdentifier, | ||
AlbumArtPreferencesToolbarItemIdentifier, | ||
iTunesPreferencesToolbarItemIdentifier, | ||
|
@@ -278,7 +265,6 @@ - (NSArray *) toolbarAllowedItemIdentifiers:(NSToolbar *)toolbar | |
FormatsPreferencesToolbarItemIdentifier, | ||
OutputPreferencesToolbarItemIdentifier, | ||
RipperPreferencesToolbarItemIdentifier, | ||
MusicBrainzPreferencesToolbarItemIdentifier, | ||
TaggingPreferencesToolbarItemIdentifier, | ||
AlbumArtPreferencesToolbarItemIdentifier, | ||
iTunesPreferencesToolbarItemIdentifier, | ||
|
@@ -297,7 +283,6 @@ - (NSArray *) toolbarSelectableItemIdentifiers:(NSToolbar *)toolbar | |
FormatsPreferencesToolbarItemIdentifier, | ||
OutputPreferencesToolbarItemIdentifier, | ||
RipperPreferencesToolbarItemIdentifier, | ||
MusicBrainzPreferencesToolbarItemIdentifier, | ||
TaggingPreferencesToolbarItemIdentifier, | ||
AlbumArtPreferencesToolbarItemIdentifier, | ||
iTunesPreferencesToolbarItemIdentifier, | ||
|
Oops, something went wrong.