Revision: 15427
          http://sourceforge.net/p/skim-app/code/15427
Author:   hofman
Date:     2025-06-10 16:16:27 +0000 (Tue, 10 Jun 2025)
Log Message:
-----------
rename method

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

Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m      2025-06-10 16:14:10 UTC (rev 15426)
+++ trunk/SKMainWindowController.m      2025-06-10 16:16:27 UTC (rev 15427)
@@ -911,7 +911,7 @@
     placeholderWidgetProperties = nil;
 }
 
-- (void)changeWidgetsFromDictionaries:(NSArray *)widgetDicts {
+- (void)updateWidgetsWithProperties:(NSArray *)widgetDicts {
     if (widgets == nil) {
         widgets = [[NSMutableArray alloc] init];
         widgetValues = [NSMapTable strongToStrongObjectsMapTable];
@@ -1058,7 +1058,7 @@
         }
     }
     if ([widgetDicts count])
-        [self changeWidgetsFromDictionaries:widgetDicts];
+        [self updateWidgetsWithProperties:widgetDicts];
     
     [self addAnnotations:notesAndPagesToAdd removeAnnotations:replacing ? 
[self notes] : nil];
 }
@@ -1183,7 +1183,7 @@
     if ([pdfDocument isLocked])
         placeholderWidgetProperties = [widgetProperties count] ? 
[widgetProperties copy] : nil;
     else
-        [self changeWidgetsFromDictionaries:widgetProperties];
+        [self updateWidgetsWithProperties:widgetProperties];
     
     [self updatePageLabelsAndOutlineForExpansionState:openState];
     [self updateNoteSelection];
@@ -2162,7 +2162,7 @@
     
     if (placeholderWidgetProperties)
         [[[self document] undoManager] disableUndoRegistration];
-    [self changeWidgetsFromDictionaries:placeholderWidgetProperties];
+    [self updateWidgetsWithProperties:placeholderWidgetProperties];
     if (placeholderWidgetProperties)
         [[[self document] undoManager] enableUndoRegistration];
     placeholderWidgetProperties = nil;

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



_______________________________________________
Skim-app-commit mailing list
Skim-app-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to