Revision: 6661
http://skim-app.svn.sourceforge.net/skim-app/?rev=6661&view=rev
Author: hofman
Date: 2010-07-29 09:05:37 +0000 (Thu, 29 Jul 2010)
Log Message:
-----------
use string constants for notification values
Modified Paths:
--------------
trunk/PDFPage_SKExtensions.m
Modified: trunk/PDFPage_SKExtensions.m
===================================================================
--- trunk/PDFPage_SKExtensions.m 2010-07-29 09:04:27 UTC (rev 6660)
+++ trunk/PDFPage_SKExtensions.m 2010-07-29 09:05:37 UTC (rev 6661)
@@ -373,7 +373,7 @@
[self setRotation:angle];
[[NSNotificationCenter defaultCenter]
postNotificationName:SKPDFPageBoundsDidChangeNotification
- object:[self document] userInfo:[NSDictionary
dictionaryWithObjectsAndKeys:@"rotate", SKPDFPageActionKey, self,
SKPDFPagePageKey, nil]];
+ object:[self document] userInfo:[NSDictionary
dictionaryWithObjectsAndKeys:SKPDFPageActionKey, SKPDFPageActionKey, self,
SKPDFPagePageKey, nil]];
}
}
@@ -397,7 +397,7 @@
[self setBounds:newBounds forBox:kPDFDisplayBoxCropBox];
[[NSNotificationCenter defaultCenter]
postNotificationName:SKPDFPageBoundsDidChangeNotification
- object:[self document] userInfo:[NSDictionary
dictionaryWithObjectsAndKeys:@"crop", SKPDFPageActionKey, self,
SKPDFPagePageKey, nil]];
+ object:[self document] userInfo:[NSDictionary
dictionaryWithObjectsAndKeys:SKPDFPageActionCrop, SKPDFPageActionKey, self,
SKPDFPagePageKey, nil]];
}
}
@@ -421,7 +421,7 @@
[self setBounds:newBounds forBox:kPDFDisplayBoxMediaBox];
[[NSNotificationCenter defaultCenter]
postNotificationName:SKPDFPageBoundsDidChangeNotification
- object:[self document] userInfo:[NSDictionary
dictionaryWithObjectsAndKeys:@"crop", SKPDFPageActionKey, self,
SKPDFPagePageKey, nil]];
+ object:[self document] userInfo:[NSDictionary
dictionaryWithObjectsAndKeys:SKPDFPageActionCrop, SKPDFPageActionKey, self,
SKPDFPagePageKey, nil]];
}
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit