Revision: 6867
http://skim-app.svn.sourceforge.net/skim-app/?rev=6867&view=rev
Author: hofman
Date: 2010-10-05 10:07:10 +0000 (Tue, 05 Oct 2010)
Log Message:
-----------
use stringByAppendingString instead of format
Modified Paths:
--------------
trunk/SKMainToolbarController.m
Modified: trunk/SKMainToolbarController.m
===================================================================
--- trunk/SKMainToolbarController.m 2010-10-04 11:09:22 UTC (rev 6866)
+++ trunk/SKMainToolbarController.m 2010-10-05 10:07:10 UTC (rev 6867)
@@ -599,7 +599,7 @@
} else if ([identifier
isEqualToString:SKDocumentToolbarColorSwatchItemIdentifier]) {
NSDictionary *options = [NSDictionary
dictionaryWithObject:SKUnarchiveFromDataArrayTransformerName
forKey:NSValueTransformerNameBindingOption];
- [colorSwatch bind:@"colors" toObject:[NSUserDefaultsController
sharedUserDefaultsController] withKeyPath:[NSString
stringWithFormat:@"values.%@", SKSwatchColorsKey] options:options];
+ [colorSwatch bind:@"colors" toObject:[NSUserDefaultsController
sharedUserDefaultsController] withKeyPath:[@"values."
stringByAppendingString:SKSwatchColorsKey] options:options];
[colorSwatch sizeToFit];
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(handleColorSwatchColorsChangedNotification:)
name:SKColorSwatchColorsChangedNotification object:colorSwatch];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit