Revision: 4215
http://skim-app.svn.sourceforge.net/skim-app/?rev=4215&view=rev
Author: hofman
Date: 2008-07-15 02:04:12 -0700 (Tue, 15 Jul 2008)
Log Message:
-----------
use custom method to get color from prefs
Modified Paths:
--------------
trunk/PDFPage_SKExtensions.m
Modified: trunk/PDFPage_SKExtensions.m
===================================================================
--- trunk/PDFPage_SKExtensions.m 2008-07-14 21:52:15 UTC (rev 4214)
+++ trunk/PDFPage_SKExtensions.m 2008-07-15 09:04:12 UTC (rev 4215)
@@ -48,6 +48,7 @@
#import "NSCharacterSet_SKExtensions.h"
#import "NSGeometry_SKExtensions.h"
#import "SKCFCallBacks.h"
+#import "NSUserDefaults_SKExtensions.h"
NSString *SKPDFPageBoundsDidChangeNotification =
@"SKPDFPageBoundsDidChangeNotification";
@@ -204,7 +205,7 @@
[[self annotations]
makeObjectsPerformSelector:@selector(displayIfTemporary)];
if (NSIsEmptyRect(readingBarRect) == NO) {
- [[NSUnarchiver unarchiveObjectWithData:[[NSUserDefaults
standardUserDefaults] objectForKey:SKReadingBarColorKey]] setFill];
+ [[[NSUserDefaults standardUserDefaults]
colorForKey:SKReadingBarColorKey] setFill];
if ([[NSUserDefaults standardUserDefaults]
boolForKey:SKReadingBarInvertKey]) {
NSRect outRect, ignored;
bounds.origin = NSZeroPoint;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit