Attempted fix for wrong iTunes playlist after startup.

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4602 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
Jens Ayton 2011-08-22 10:43:10 +00:00
parent 26bc5f9ada
commit eb546103d7

View File

@ -168,12 +168,19 @@ enum
}
- (void) stop
// Stop without switching iTunes to in-flight music.
- (void) justStop
{
[_current stop];
[_current release];
_current = nil;
_special = kSpecialNone;
}
- (void) stop
{
[self justStop];
if (_mode == kOOMusicITunes)
{
@ -190,7 +197,11 @@ enum
- (void) stopThemeMusic
{
if (_special == kSpecialTheme) [self stop];
if (_special == kSpecialTheme)
{
[self justStop];
[self playDockedMusic];
}
}