[webkit-changes] cvs commit: WebKit/Misc.subproj WebIconDatabase.m
John
sullivan at opensource.apple.com
Mon Dec 12 13:01:35 PST 2005
sullivan 05/12/12 13:01:34
Modified: . ChangeLog
Misc.subproj WebIconDatabase.m
Log:
Reviewed and checked in by John Sullivan.
Fix for: http://bugzilla.opendarwin.org/show_bug.cgi?id=6053
WebIconDatabase returns the Accessibility Verifier app icon instead of
a generic document icon
* Misc.subproj/WebIconDatabase.m:
(-[WebIconDatabase _iconForFileURL:withSize:]):
use file type iconForFileType:NSFileTypeForHFSTypeCode(kGenericDocumentIcon) instead of '????'
to get the generic document icon.
Revision Changes Path
1.3399 +13 -0 WebKit/ChangeLog
Index: ChangeLog
===================================================================
RCS file: /cvs/root/WebKit/ChangeLog,v
retrieving revision 1.3398
retrieving revision 1.3399
diff -u -r1.3398 -r1.3399
--- ChangeLog 12 Dec 2005 19:42:40 -0000 1.3398
+++ ChangeLog 12 Dec 2005 21:01:28 -0000 1.3399
@@ -1,3 +1,16 @@
+2005-12-12 Mitz Pettel <opendarwin.org at mitzpettel.com>
+
+ Reviewed and checked in by John Sullivan.
+
+ Fix for: http://bugzilla.opendarwin.org/show_bug.cgi?id=6053
+ WebIconDatabase returns the Accessibility Verifier app icon instead of
+ a generic document icon
+
+ * Misc.subproj/WebIconDatabase.m:
+ (-[WebIconDatabase _iconForFileURL:withSize:]):
+ use file type iconForFileType:NSFileTypeForHFSTypeCode(kGenericDocumentIcon) instead of '????'
+ to get the generic document icon.
+
2005-12-12 John Sullivan <sullivan at apple.com>
Reviewed by Tim Omernick.
1.61 +1 -1 WebKit/Misc.subproj/WebIconDatabase.m
Index: WebIconDatabase.m
===================================================================
RCS file: /cvs/root/WebKit/Misc.subproj/WebIconDatabase.m,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -r1.60 -r1.61
--- WebIconDatabase.m 17 Aug 2005 18:14:38 -0000 1.60
+++ WebIconDatabase.m 12 Dec 2005 21:01:34 -0000 1.61
@@ -655,7 +655,7 @@
} else {
if (!path || ![path isAbsolutePath]) {
// Return the generic icon when there is no path.
- icon = [workspace iconForFileType:@"????"];
+ icon = [workspace iconForFileType:NSFileTypeForHFSTypeCode(kGenericDocumentIcon)];
} else {
icon = [workspace iconForFile:path];
}
More information about the webkit-changes
mailing list