Revision: 4280
          http://skim-app.svn.sourceforge.net/skim-app/?rev=4280&view=rev
Author:   hofman
Date:     2008-07-23 09:21:55 +0000 (Wed, 23 Jul 2008)

Log Message:
-----------
observe changes of logical page numbering pref

Modified Paths:
--------------
    trunk/SKMainWindowController.m

Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m      2008-07-23 09:07:28 UTC (rev 4279)
+++ trunk/SKMainWindowController.m      2008-07-23 09:21:55 UTC (rev 4280)
@@ -3312,7 +3312,7 @@
                                   SKSearchHighlightColorKey, 
SKShouldHighlightSearchResultsKey, 
                                   SKThumbnailSizeKey, 
SKSnapshotThumbnailSizeKey, 
                                   SKShouldAntiAliasKey, 
SKGreekingThresholdKey, 
-                                  SKTableFontSizeKey, nil]
+                                  SKTableFontSizeKey, 
SKLogicalPageNumberingKey, nil]
         context:SKMainWindowDefaultsObservationContext];
 }
 
@@ -3322,7 +3322,7 @@
                                   SKSearchHighlightColorKey, 
SKShouldHighlightSearchResultsKey, 
                                   SKThumbnailSizeKey, 
SKSnapshotThumbnailSizeKey, 
                                   SKShouldAntiAliasKey, 
SKGreekingThresholdKey, 
-                                  SKTableFontSizeKey, nil]];
+                                  SKTableFontSizeKey, 
SKLogicalPageNumberingKey, nil]];
 }
 
 #pragma mark Undo
@@ -3429,6 +3429,8 @@
             [findTableView setFont:font];
             [groupedFindTableView setFont:font];
             [self updatePageColumnWidthForTableView:outlineView];
+        } else if ([key isEqualToString:SKLogicalPageNumberingKey]) {
+            [self updatePageLabelsAndOutline];
         }
         
     } else if (context == SKNPDFAnnotationPropertiesObservationContext) {


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

Reply via email to