Revision: 3741
http://skim-app.svn.sourceforge.net/skim-app/?rev=3741&view=rev
Author: hofman
Date: 2008-04-17 06:01:40 -0700 (Thu, 17 Apr 2008)
Log Message:
-----------
Use string constants.
Modified Paths:
--------------
trunk/SKMainWindowController.m
Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m 2008-04-17 09:40:34 UTC (rev 3740)
+++ trunk/SKMainWindowController.m 2008-04-17 13:01:40 UTC (rev 3741)
@@ -3937,9 +3937,9 @@
NSSortDescriptor *pageIndexSortDescriptor = [[[NSSortDescriptor
alloc] initWithKey:SKPDFAnnotationPageIndexKey ascending:ascending]
autorelease];
NSSortDescriptor *boundsSortDescriptor = [[[NSSortDescriptor
alloc] initWithKey:SKPDFAnnotationBoundsKey ascending:ascending
selector:@selector(boundsCompare:)] autorelease];
NSMutableArray *sds = [NSMutableArray
arrayWithObjects:pageIndexSortDescriptor, boundsSortDescriptor, nil];
- if ([tcID isEqualToString:@"type"]) {
+ if ([tcID isEqualToString:SKMainWindowTypeColumnIdentifer]) {
[sds insertObject:[[[NSSortDescriptor alloc]
initWithKey:SKPDFAnnotationTypeKey ascending:YES
selector:@selector(noteTypeCompare:)] autorelease] atIndex:0];
- } else if ([tcID isEqualToString:@"note"]) {
+ } else if ([tcID isEqualToString:SKMainWindowNoteColumnIdentifer])
{
[sds insertObject:[[[NSSortDescriptor alloc]
initWithKey:SKPDFAnnotationStringKey ascending:YES
selector:@selector(localizedCaseInsensitiveNumericCompare:)] autorelease]
atIndex:0];
} else if ([tcID isEqualToString:SKMainWindowPageColumnIdentifer])
{
if (oldTableColumn == nil)
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 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit