Removed Growl preferences. Growl can and should handle that on its own.
parent
3f5078594d
commit
396ebda62a
|
@ -31,7 +31,6 @@
|
||||||
NSDictionary *defaultsDictionary = [NSDictionary dictionaryWithObjectsAndKeys:
|
NSDictionary *defaultsDictionary = [NSDictionary dictionaryWithObjectsAndKeys:
|
||||||
[NSNumber numberWithBool:YES], @"enableAudioScrobbler",
|
[NSNumber numberWithBool:YES], @"enableAudioScrobbler",
|
||||||
[NSNumber numberWithBool:NO], @"automaticallyLaunchLastFM",
|
[NSNumber numberWithBool:NO], @"automaticallyLaunchLastFM",
|
||||||
[NSNumber numberWithBool:YES], @"enableGrowlNotifications",
|
|
||||||
nil];
|
nil];
|
||||||
|
|
||||||
[[NSUserDefaults standardUserDefaults] registerDefaults:defaultsDictionary];
|
[[NSUserDefaults standardUserDefaults] registerDefaults:defaultsDictionary];
|
||||||
|
@ -140,15 +139,13 @@
|
||||||
[scrobbler start:pe];
|
[scrobbler start:pe];
|
||||||
}
|
}
|
||||||
|
|
||||||
if([[NSUserDefaults standardUserDefaults] boolForKey:@"enableGrowlNotifications"]) {
|
[GrowlApplicationBridge notifyWithTitle:[pe title]
|
||||||
[GrowlApplicationBridge notifyWithTitle:[pe title]
|
description:[pe artist]
|
||||||
description:[pe artist]
|
notificationName:@"Stream Changed"
|
||||||
notificationName:@"Stream Changed"
|
iconData:nil
|
||||||
iconData:nil
|
priority:0
|
||||||
priority:0
|
isSticky:NO
|
||||||
isSticky:NO
|
clickContext:nil];
|
||||||
clickContext:nil];
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
- (IBAction)next:(id)sender
|
- (IBAction)next:(id)sender
|
||||||
|
@ -322,15 +319,13 @@
|
||||||
[scrobbler start:pe];
|
[scrobbler start:pe];
|
||||||
}
|
}
|
||||||
|
|
||||||
if([[NSUserDefaults standardUserDefaults] boolForKey:@"enableGrowlNotifications"]) {
|
[GrowlApplicationBridge notifyWithTitle:[pe title]
|
||||||
[GrowlApplicationBridge notifyWithTitle:[pe title]
|
description:[pe artist]
|
||||||
description:[pe artist]
|
notificationName:@"Stream Changed"
|
||||||
notificationName:@"Stream Changed"
|
iconData:nil
|
||||||
iconData:nil
|
priority:0
|
||||||
priority:0
|
isSticky:NO
|
||||||
isSticky:NO
|
clickContext:nil];
|
||||||
clickContext:nil];
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)updatePosition:(id)sender
|
- (void)updatePosition:(id)sender
|
||||||
|
|
|
@ -7,9 +7,7 @@
|
||||||
<key>IBEditorPositions</key>
|
<key>IBEditorPositions</key>
|
||||||
<dict>
|
<dict>
|
||||||
<key>10</key>
|
<key>10</key>
|
||||||
<string>562 607 506 102 0 0 1680 1028 </string>
|
<string>587 659 506 102 0 0 1680 1028 </string>
|
||||||
<key>102</key>
|
|
||||||
<string>762 667 248 96 0 0 1680 1028 </string>
|
|
||||||
<key>11</key>
|
<key>11</key>
|
||||||
<string>640 634 400 151 0 0 1680 1028 </string>
|
<string>640 634 400 151 0 0 1680 1028 </string>
|
||||||
<key>43</key>
|
<key>43</key>
|
||||||
|
@ -17,7 +15,7 @@
|
||||||
<key>50</key>
|
<key>50</key>
|
||||||
<string>640 662 400 96 0 0 1680 1028 </string>
|
<string>640 662 400 96 0 0 1680 1028 </string>
|
||||||
<key>58</key>
|
<key>58</key>
|
||||||
<string>614 441 411 101 0 0 1680 1028 </string>
|
<string>634 659 411 101 0 0 1680 1028 </string>
|
||||||
<key>85</key>
|
<key>85</key>
|
||||||
<string>614 652 452 116 0 0 1680 1028 </string>
|
<string>614 652 452 116 0 0 1680 1028 </string>
|
||||||
</dict>
|
</dict>
|
||||||
|
@ -25,13 +23,12 @@
|
||||||
<string>446.1</string>
|
<string>446.1</string>
|
||||||
<key>IBOpenObjects</key>
|
<key>IBOpenObjects</key>
|
||||||
<array>
|
<array>
|
||||||
<integer>58</integer>
|
|
||||||
<integer>102</integer>
|
|
||||||
<integer>85</integer>
|
|
||||||
<integer>43</integer>
|
|
||||||
<integer>50</integer>
|
|
||||||
<integer>11</integer>
|
|
||||||
<integer>10</integer>
|
<integer>10</integer>
|
||||||
|
<integer>43</integer>
|
||||||
|
<integer>58</integer>
|
||||||
|
<integer>11</integer>
|
||||||
|
<integer>50</integer>
|
||||||
|
<integer>85</integer>
|
||||||
</array>
|
</array>
|
||||||
<key>IBSystem Version</key>
|
<key>IBSystem Version</key>
|
||||||
<string>8L2127</string>
|
<string>8L2127</string>
|
||||||
|
|
Binary file not shown.
|
@ -7,6 +7,7 @@
|
||||||
objects = {
|
objects = {
|
||||||
|
|
||||||
/* Begin PBXBuildFile section */
|
/* Begin PBXBuildFile section */
|
||||||
|
1706814C0B9519A5006BA573 /* growl.png in Resources */ = {isa = PBXBuildFile; fileRef = 1706814B0B9519A5006BA573 /* growl.png */; };
|
||||||
172D72AD0B8926CA00D095BB /* apple_remote.png in Resources */ = {isa = PBXBuildFile; fileRef = 172D72AC0B8926CA00D095BB /* apple_remote.png */; };
|
172D72AD0B8926CA00D095BB /* apple_remote.png in Resources */ = {isa = PBXBuildFile; fileRef = 172D72AC0B8926CA00D095BB /* apple_remote.png */; };
|
||||||
1766C7A80B912A71004A7AE4 /* lastfm.png in Resources */ = {isa = PBXBuildFile; fileRef = 1766C7A70B912A71004A7AE4 /* lastfm.png */; };
|
1766C7A80B912A71004A7AE4 /* lastfm.png in Resources */ = {isa = PBXBuildFile; fileRef = 1766C7A70B912A71004A7AE4 /* lastfm.png */; };
|
||||||
17C643380B8A77CC00C53518 /* OutputsArrayController.m in Sources */ = {isa = PBXBuildFile; fileRef = 17C643360B8A77CC00C53518 /* OutputsArrayController.m */; };
|
17C643380B8A77CC00C53518 /* OutputsArrayController.m in Sources */ = {isa = PBXBuildFile; fileRef = 17C643360B8A77CC00C53518 /* OutputsArrayController.m */; };
|
||||||
|
@ -34,6 +35,7 @@
|
||||||
089C167EFE841241C02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = "<group>"; };
|
089C167EFE841241C02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = "<group>"; };
|
||||||
089C167FFE841241C02AAC07 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = "<absolute>"; };
|
089C167FFE841241C02AAC07 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = "<absolute>"; };
|
||||||
1058C7ADFEA557BF11CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = "<absolute>"; };
|
1058C7ADFEA557BF11CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = "<absolute>"; };
|
||||||
|
1706814B0B9519A5006BA573 /* growl.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = growl.png; path = Icons/growl.png; sourceTree = "<group>"; };
|
||||||
172D72AC0B8926CA00D095BB /* apple_remote.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = apple_remote.png; path = Icons/apple_remote.png; sourceTree = "<group>"; };
|
172D72AC0B8926CA00D095BB /* apple_remote.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = apple_remote.png; path = Icons/apple_remote.png; sourceTree = "<group>"; };
|
||||||
1766C7A70B912A71004A7AE4 /* lastfm.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = lastfm.png; path = Icons/lastfm.png; sourceTree = "<group>"; };
|
1766C7A70B912A71004A7AE4 /* lastfm.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = lastfm.png; path = Icons/lastfm.png; sourceTree = "<group>"; };
|
||||||
17C643360B8A77CC00C53518 /* OutputsArrayController.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = OutputsArrayController.m; sourceTree = "<group>"; };
|
17C643360B8A77CC00C53518 /* OutputsArrayController.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = OutputsArrayController.m; sourceTree = "<group>"; };
|
||||||
|
@ -193,6 +195,7 @@
|
||||||
8E07ABD90AAC95AF00A4B32F /* Icons */ = {
|
8E07ABD90AAC95AF00A4B32F /* Icons */ = {
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
|
1706814B0B9519A5006BA573 /* growl.png */,
|
||||||
1766C7A70B912A71004A7AE4 /* lastfm.png */,
|
1766C7A70B912A71004A7AE4 /* lastfm.png */,
|
||||||
17C643680B8A788000C53518 /* output.png */,
|
17C643680B8A788000C53518 /* output.png */,
|
||||||
8E15A86B0B894768006DC802 /* updates.png */,
|
8E15A86B0B894768006DC802 /* updates.png */,
|
||||||
|
@ -252,6 +255,7 @@
|
||||||
8E15A86C0B894768006DC802 /* updates.png in Resources */,
|
8E15A86C0B894768006DC802 /* updates.png in Resources */,
|
||||||
17C643690B8A788000C53518 /* output.png in Resources */,
|
17C643690B8A788000C53518 /* output.png in Resources */,
|
||||||
1766C7A80B912A71004A7AE4 /* lastfm.png in Resources */,
|
1766C7A80B912A71004A7AE4 /* lastfm.png in Resources */,
|
||||||
|
1706814C0B9519A5006BA573 /* growl.png in Resources */,
|
||||||
);
|
);
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue