Revision: 12367
http://bibdesk.svn.sourceforge.net/bibdesk/?rev=12367&view=rev
Author: hofman
Date: 2008-01-08 09:31:00 -0800 (Tue, 08 Jan 2008)
Log Message:
-----------
Use text icons for HTML when web view icons are disabled.
Modified Paths:
--------------
trunk/bibdesk_vendorsrc/amaxwell/FileView/FVWebViewIcon.m
Modified: trunk/bibdesk_vendorsrc/amaxwell/FileView/FVWebViewIcon.m
===================================================================
--- trunk/bibdesk_vendorsrc/amaxwell/FileView/FVWebViewIcon.m 2008-01-08
17:20:47 UTC (rev 12366)
+++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FVWebViewIcon.m 2008-01-08
17:31:00 UTC (rev 12367)
@@ -111,7 +111,10 @@
if (FVWebIconDisabled || (NO == [[aURL scheme] isEqualToString:@"http"] &&
NO == [aURL isFileURL])) {
NSZone *zone = [self zone];
[self release];
- self = [[FVFinderIcon allocWithZone:zone]
initWithFinderIconOfURL:aURL];
+ if ([aURL isFileURL])
+ self = [[FVTextIcon allocWithZone:zone] initWithTextAtURL:aURL];
+ else
+ self = [[FVFinderIcon allocWithZone:zone]
initWithFinderIconOfURL:aURL];
}
else if ((self = [super init])) {
_httpURL = [aURL copy];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit