Added some document icons.

Fixed bug when double clicking after right clicking.
CQTexperiment
vspader 2007-05-27 14:04:42 +00:00
parent 53d364ecb7
commit c39af186b1
8 changed files with 102 additions and 17 deletions

View File

@ -11,6 +11,10 @@
170680630B950158006BA573 /* Growl.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 170680620B950158006BA573 /* Growl.framework */; };
170680840B950164006BA573 /* Growl.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 170680620B950158006BA573 /* Growl.framework */; };
171678C00AC8C39E00C28CF3 /* SmartFolderNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 171678BE0AC8C39E00C28CF3 /* SmartFolderNode.m */; };
171B57DD0C091F2B00F6AFAF /* flac.icns in Resources */ = {isa = PBXBuildFile; fileRef = 171B57D90C091F2B00F6AFAF /* flac.icns */; };
171B57DE0C091F2B00F6AFAF /* m4a.icns in Resources */ = {isa = PBXBuildFile; fileRef = 171B57DA0C091F2B00F6AFAF /* m4a.icns */; };
171B57DF0C091F2B00F6AFAF /* mp3.icns in Resources */ = {isa = PBXBuildFile; fileRef = 171B57DB0C091F2B00F6AFAF /* mp3.icns */; };
171B57E00C091F2B00F6AFAF /* ogg.icns in Resources */ = {isa = PBXBuildFile; fileRef = 171B57DC0C091F2B00F6AFAF /* ogg.icns */; };
1755E1F90BA0D2B600CA3560 /* PlaylistLoader.m in Sources */ = {isa = PBXBuildFile; fileRef = 1755E1F70BA0D2B600CA3560 /* PlaylistLoader.m */; };
1766C6930B911DF1004A7AE4 /* AudioScrobbler.m in Sources */ = {isa = PBXBuildFile; fileRef = 1766C68F0B911DF1004A7AE4 /* AudioScrobbler.m */; };
1766C6950B911DF1004A7AE4 /* AudioScrobblerClient.m in Sources */ = {isa = PBXBuildFile; fileRef = 1766C6910B911DF1004A7AE4 /* AudioScrobblerClient.m */; };
@ -154,6 +158,10 @@
170680620B950158006BA573 /* Growl.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Growl.framework; path = ThirdParty/Frameworks/Growl.framework; sourceTree = "<group>"; };
171678BD0AC8C39E00C28CF3 /* SmartFolderNode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SmartFolderNode.h; sourceTree = "<group>"; };
171678BE0AC8C39E00C28CF3 /* SmartFolderNode.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SmartFolderNode.m; sourceTree = "<group>"; };
171B57D90C091F2B00F6AFAF /* flac.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = flac.icns; sourceTree = "<group>"; };
171B57DA0C091F2B00F6AFAF /* m4a.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = m4a.icns; sourceTree = "<group>"; };
171B57DB0C091F2B00F6AFAF /* mp3.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = mp3.icns; sourceTree = "<group>"; };
171B57DC0C091F2B00F6AFAF /* ogg.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = ogg.icns; sourceTree = "<group>"; };
1755E1F60BA0D2B600CA3560 /* PlaylistLoader.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = PlaylistLoader.h; sourceTree = "<group>"; };
1755E1F70BA0D2B600CA3560 /* PlaylistLoader.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = PlaylistLoader.m; sourceTree = "<group>"; };
1766C68E0B911DF1004A7AE4 /* AudioScrobbler.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = AudioScrobbler.h; sourceTree = "<group>"; };
@ -655,6 +663,10 @@
8E75758E09F31D800080F1EE /* Icons */ = {
isa = PBXGroup;
children = (
171B57D90C091F2B00F6AFAF /* flac.icns */,
171B57DA0C091F2B00F6AFAF /* m4a.icns */,
171B57DB0C091F2B00F6AFAF /* mp3.icns */,
171B57DC0C091F2B00F6AFAF /* ogg.icns */,
8E7575A609F31D800080F1EE /* wheel.icns */,
);
path = Icons;
@ -760,6 +772,10 @@
1766C8980B912FB4004A7AE4 /* shuffle_off.png in Resources */,
1766C8990B912FB4004A7AE4 /* shuffle_on.png in Resources */,
179790F20C087B46001D6996 /* OpenURLPanel.nib in Resources */,
171B57DD0C091F2B00F6AFAF /* flac.icns in Resources */,
171B57DE0C091F2B00F6AFAF /* m4a.icns in Resources */,
171B57DF0C091F2B00F6AFAF /* mp3.icns in Resources */,
171B57E00C091F2B00F6AFAF /* ogg.icns in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};

BIN
Icons/flac.icns Normal file

Binary file not shown.

BIN
Icons/m4a.icns Normal file

Binary file not shown.

BIN
Icons/mp3.icns Normal file

Binary file not shown.

BIN
Icons/ogg.icns Normal file

Binary file not shown.

View File

@ -1,7 +1,6 @@
<?xml version='1.0' encoding='UTF-8'?>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version='1.0'>
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
@ -28,6 +27,8 @@
<string>aiff</string>
<string>aifc</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>aiff.icns</string>
<key>CFBundleTypeName</key>
<string>AIFF Audio File</string>
<key>CFBundleTypeRole</key>
@ -39,52 +40,128 @@
<string>wav</string>
<string>wave</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>wav.icns</string>
<key>CFBundleTypeName</key>
<string>Wave Audio File</string>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
</dict>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>mp3</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>mp3.icns</string>
<key>CFBundleTypeName</key>
<string>MP3 Audio File</string>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
</dict>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>flac</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>flac.icns</string>
<key>CFBundleTypeName</key>
<string>Flac Audio File</string>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
</dict>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>ape</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>ape.icns</string>
<key>CFBundleTypeName</key>
<string>Monkey's Audio File</string>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
</dict>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>mpc</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>mpc.icns</string>
<key>CFBundleTypeName</key>
<string>Musepack Audio File</string>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
</dict>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>ogg</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>ogg.icns</string>
<key>CFBundleTypeName</key>
<string>Ogg Vorbis File</string>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
</dict>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>shn</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>shn.icns</string>
<key>CFBundleTypeName</key>
<string>Shorten File</string>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
<key>LSTypeIsPackage</key>
<true/>
<key>NSPersistentStoreTypeKey</key>
<string>Binary</string>
</dict>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>wv</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>wv.icns</string>
<key>CFBundleTypeName</key>
<string>Wavpack File</string>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
<key>LSTypeIsPackage</key>
<true/>
<key>NSPersistentStoreTypeKey</key>
<string>Binary</string>
</dict>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>m4a</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>m4a.icns</string>
<key>CFBundleTypeName</key>
<string>M4A File</string>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
<key>LSTypeIsPackage</key>
<true/>
<key>NSPersistentStoreTypeKey</key>
<string>Binary</string>
</dict>
</array>
<key>CFBundleExecutable</key>
<string>Cog</string>
<key>CFBundleHelpBookFolder</key>
<string>Help</string>
<key>CFBundleHelpBookName</key>
<string>Cog Help</string>
<key>CFBundleIconFile</key>
<string>wheel</string>
<key>CFBundleIdentifier</key>
@ -97,19 +174,13 @@
<string>????</string>
<key>CFBundleVersion</key>
<string>0.06</string>
<key>CFBundleHelpBookFolder</key>
<string>Help</string>
<key>CFBundleHelpBookName</key>
<string>Cog Help</string>
<key>NSAppleScriptEnabled</key>
<string>YES</string>
<key>NSMainNibFile</key>
<string>MainMenu</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
<key>SUFeedURL</key>
<key>SUFeedURL</key>
<string>http://cogosx.sourceforge.net/appcast.xml</string>
</dict>
</plist>

View File

@ -121,14 +121,12 @@
- (void)mouseDown:(NSEvent *)e
{
[super mouseDown:e];
if ([e type] == NSLeftMouseDown && [e clickCount] == 2 && [self selectedRow] != -1)
{
[playbackController play:self];
}
else
{
[super mouseDown:e];
}
}
// enables right-click selection for "Show in Finder" contextual menu

6
TODO
View File

@ -1,5 +1,5 @@
Bug fixes:
Broken MP3: http://sbooth.org/forums/viewtopic.php?t=1103
Fix playlist/file loading so it never loads duplicates in a single action. Ex: If you load (an m3u containing a bunch of files) AND (the files themselves), only load them once! However, if you load the m3u, THEN load the group of files, they should appear twice!
SHN resulting in high CPU usage: http://sbooth.org/forums/viewtopic.php?p=4711#4711
Window Menu: http://sbooth.org/forums/viewtopic.php?p=4717
Document Icons?
Fix playlist/file loading so it never loads duplicates in a single action. Ex: If you load (an m3u containing a bunch of files) AND (the files themselves), only load them once! However, if you load the m3u, THEN load the group of files, they should appear twice!