Revision: 15786
          http://sourceforge.net/p/skim-app/code/15786
Author:   hofman
Date:     2025-11-10 17:29:42 +0000 (Mon, 10 Nov 2025)
Log Message:
-----------
rename notification name

Modified Paths:
--------------
    trunk/PDFPage_SKExtensions.h
    trunk/PDFPage_SKExtensions.m
    trunk/SKApplicationController.m
    trunk/SKMainWindowController_UI.m
    trunk/SKNoteWindowController.m

Modified: trunk/PDFPage_SKExtensions.h
===================================================================
--- trunk/PDFPage_SKExtensions.h        2025-11-10 17:28:42 UTC (rev 15785)
+++ trunk/PDFPage_SKExtensions.h        2025-11-10 17:29:42 UTC (rev 15786)
@@ -42,7 +42,7 @@
 
 NS_ASSUME_NONNULL_BEGIN
 
-extern NSNotificationName const SKPageLabelsChangedNotification;
+extern NSNotificationName const SKPDFPageLabelsChangedNotification;
 
 extern NSNotificationName const SKPDFPageBoundsDidChangeNotification;
 

Modified: trunk/PDFPage_SKExtensions.m
===================================================================
--- trunk/PDFPage_SKExtensions.m        2025-11-10 17:28:42 UTC (rev 15785)
+++ trunk/PDFPage_SKExtensions.m        2025-11-10 17:29:42 UTC (rev 15786)
@@ -60,7 +60,7 @@
 #import "NSString_SKExtensions.h"
 #import "SKLine.h"
 
-NSNotificationName const SKPageLabelsChangedNotification = 
@"SKPageLabelsChangedNotification";
+NSNotificationName const SKPDFPageLabelsChangedNotification = 
@"SKPDFPageLabelsChangedNotification";
 
 NSNotificationName const SKPDFPageBoundsDidChangeNotification = 
@"SKPDFPageBoundsDidChangeNotification";
 

Modified: trunk/SKApplicationController.m
===================================================================
--- trunk/SKApplicationController.m     2025-11-10 17:28:42 UTC (rev 15785)
+++ trunk/SKApplicationController.m     2025-11-10 17:29:42 UTC (rev 15786)
@@ -516,7 +516,7 @@
     if (context == &SKApplicationControllerDefaultsObservationContext) {
         if ([keyPath isEqualToString:SKSequentialPageNumberingKey]) {
             [PDFPage setUsesSequentialPageNumbering:[[NSUserDefaults 
standardUserDefaults] boolForKey:SKSequentialPageNumberingKey]];
-            [[NSNotificationCenter defaultCenter] 
postNotificationName:SKPageLabelsChangedNotification object:nil];
+            [[NSNotificationCenter defaultCenter] 
postNotificationName:SKPDFPageLabelsChangedNotification object:nil];
         }
     } else {
         [super observeValueForKeyPath:keyPath ofObject:object change:change 
context:context];

Modified: trunk/SKMainWindowController_UI.m
===================================================================
--- trunk/SKMainWindowController_UI.m   2025-11-10 17:28:42 UTC (rev 15785)
+++ trunk/SKMainWindowController_UI.m   2025-11-10 17:29:42 UTC (rev 15786)
@@ -2121,7 +2121,7 @@
                              
name:SKDocumentControllerWillRemoveDocumentNotification object:nil];
     // PDFPage
     [nc addObserver:self 
selector:@selector(handlePageLabelsChangedNotification:)
-                             name:SKPageLabelsChangedNotification object:nil];
+                             name:SKPDFPageLabelsChangedNotification 
object:nil];
 }
 
 @end

Modified: trunk/SKNoteWindowController.m
===================================================================
--- trunk/SKNoteWindowController.m      2025-11-10 17:28:42 UTC (rev 15785)
+++ trunk/SKNoteWindowController.m      2025-11-10 17:29:42 UTC (rev 15786)
@@ -164,7 +164,7 @@
             for (NSString *key in [[self class] fontKeysToObserve])
                 [sud addObserver:self forKeyPath:key options:0 
context:&SKNoteWindowDefaultsObservationContext];
         }
-        [[NSNotificationCenter defaultCenter] addObserver:self 
selector:@selector(handlePageLabelsChangedNotification:) 
name:SKPageLabelsChangedNotification object:nil];
+        [[NSNotificationCenter defaultCenter] addObserver:self 
selector:@selector(handlePageLabelsChangedNotification:) 
name:SKPDFPageLabelsChangedNotification object:nil];
     }
     return self;
 }

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to