Revision: 16275
          http://sourceforge.net/p/skim-app/code/16275
Author:   hofman
Date:     2026-05-10 16:49:15 +0000 (Sun, 10 May 2026)
Log Message:
-----------
rename method

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

Modified: trunk/SKMainWindowController_UI.m
===================================================================
--- trunk/SKMainWindowController_UI.m   2026-05-10 16:41:20 UTC (rev 16274)
+++ trunk/SKMainWindowController_UI.m   2026-05-10 16:49:15 UTC (rev 16275)
@@ -207,10 +207,9 @@
     }
 }
 
-- (void)updateUtilityPanel {
-    PDFAnnotation *annotation = [pdfView currentAnnotation];
-    
+- (void)updateUtilityPanels {
     if ([[self window] isMainWindow]) {
+        PDFAnnotation *annotation = [pdfView currentAnnotation];
         if ([annotation isSkimNote]) {
             if ([annotation isText]) {
                 mwcFlags.updatingFont = 1;
@@ -231,7 +230,7 @@
 
 - (void)windowDidBecomeMain:(NSNotification *)notification {
     if ([self interactionMode] != SKPresentationMode) {
-        [self updateUtilityPanel];
+        [self updateUtilityPanels];
     } else if ([NSApp isActive] && [[NSUserDefaults standardUserDefaults] 
boolForKey:SKUseNormalLevelForPresentationKey] == NO) {
         [[self window] setLevel:NSPopUpMenuWindowLevel];
     }
@@ -2063,7 +2062,7 @@
     
     annotation = [pdfView currentAnnotation];
     if ([[self window] isMainWindow])
-        [self updateUtilityPanel];
+        [self updateUtilityPanels];
     if ([annotation isSkimNote]) {
         if ([[self selectedNotes] containsObject:annotation] == NO) {
             [ov selectRowIndexes:[NSIndexSet indexSetWithIndex:[ov 
rowForItem:annotation]] byExtendingSelection:NO];

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