Set default seek to 5, added menu separator to context menu, fixed silly wma crasher
parent
04ef1c2fa3
commit
d59e118e1d
|
@ -9,7 +9,7 @@
|
|||
|
||||
@implementation PlaybackController
|
||||
|
||||
#define DEFAULT_SEEK 10
|
||||
#define DEFAULT_SEEK 5
|
||||
|
||||
@synthesize playbackStatus;
|
||||
|
||||
|
|
|
@ -198,7 +198,7 @@
|
|||
addedItems++;
|
||||
}
|
||||
|
||||
|
||||
int remQ = 0;
|
||||
if (song.queuePosition > 0)
|
||||
{
|
||||
NSMenuItem *queueRemoveMenuItem = [NSMenuItem alloc];
|
||||
|
@ -210,8 +210,13 @@
|
|||
queueRemoveMenuItem.target = playlistController;
|
||||
[tableViewMenu insertItem:queueRemoveMenuItem atIndex:1];
|
||||
[queueRemoveMenuItem release];
|
||||
remQ = 1;
|
||||
}
|
||||
|
||||
if (remQ == 1)
|
||||
[tableViewMenu insertItem:[NSMenuItem separatorItem] atIndex:2];
|
||||
else
|
||||
[tableViewMenu insertItem:[NSMenuItem separatorItem] atIndex:1];
|
||||
|
||||
if(addedItems)
|
||||
{
|
||||
// add a separator in the right place - turned into a hack now
|
||||
|
|
|
@ -18,10 +18,12 @@
|
|||
|
||||
- (BOOL)open:(id<CogSource>)s
|
||||
{
|
||||
source = [s retain];
|
||||
|
||||
|
||||
int err, i;
|
||||
const char *filename = [[[source url] path] UTF8String];
|
||||
|
||||
source = [s retain];
|
||||
ic = NULL;
|
||||
|
||||
// register all available codecs
|
||||
|
|
Loading…
Reference in New Issue