Revision: 6837
http://skim-app.svn.sourceforge.net/skim-app/?rev=6837&view=rev
Author: hofman
Date: 2010-09-22 17:14:18 +0000 (Wed, 22 Sep 2010)
Log Message:
-----------
fix display of keywords in info panel
Modified Paths:
--------------
trunk/SKInfoWindowController.m
Modified: trunk/SKInfoWindowController.m
===================================================================
--- trunk/SKInfoWindowController.m 2010-09-22 17:07:26 UTC (rev 6836)
+++ trunk/SKInfoWindowController.m 2010-09-22 17:14:18 UTC (rev 6837)
@@ -106,7 +106,7 @@
PDFDocumentProducerAttribute,
PDFDocumentCreationDateAttribute,
PDFDocumentModificationDateAttribute,
- PDFDocumentKeywordsAttribute, nil];
+ SKInfoKeywordsStringKey, nil];
}
return self;
}
@@ -323,7 +323,7 @@
return NSLocalizedString(@"Creation date:", @"Info label");
if ([key isEqualToString:PDFDocumentModificationDateAttribute])
return NSLocalizedString(@"Modification date:", @"Info label");
- if ([key isEqualToString:PDFDocumentKeywordsAttribute])
+ if ([key isEqualToString:SKInfoKeywordsStringKey])
return NSLocalizedString(@"Keywords:", @"Info label");
return [key stringByAppendingString:@":"];
}
@@ -364,8 +364,6 @@
value = [shortDateFormatter stringFromDate:value];
else if ([value isKindOfClass:[NSNumber class]])
value = ([key isEqualToString:SKInfoPageCountKey] ? [value
stringValue] : ([value boolValue] ? NSLocalizedString(@"Yes", @"") :
NSLocalizedString(@"No", @"")));
- else if ([value isKindOfClass:[NSArray class]])
- value = [value componentsJoinedByString:@", "];
}
}
return value;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit