Revision: 16477
          http://sourceforge.net/p/skim-app/code/16477
Author:   hofman
Date:     2026-09-14 14:52:44 +0000 (Mon, 14 Sep 2026)
Log Message:
-----------
move sticky pref keys to SKStringConstants as they are used in two different 
files

Modified Paths:
--------------
    trunk/SKMainWindowController.m
    trunk/SKMainWindowController_UI.m
    trunk/SKStringConstants.h
    trunk/SKStringConstants.m

Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m      2026-09-14 14:46:15 UTC (rev 16476)
+++ trunk/SKMainWindowController.m      2026-09-14 14:52:44 UTC (rev 16477)
@@ -180,9 +180,6 @@
 
 static char SKMainWindowSplitViewItemObservationContext;
 
-#define SKLeftSidePaneWidthKey @"SKLeftSidePaneWidth"
-#define SKRightSidePaneWidthKey @"SKRightSidePaneWidth"
-
 #define SKCollapseTOCSublevelsKey @"SKCollapseTOCSublevels"
 
 #define SKDisableSearchBarBlurringKey @"SKDisableSearchBarBlurring"

Modified: trunk/SKMainWindowController_UI.m
===================================================================
--- trunk/SKMainWindowController_UI.m   2026-09-14 14:46:15 UTC (rev 16476)
+++ trunk/SKMainWindowController_UI.m   2026-09-14 14:52:44 UTC (rev 16477)
@@ -105,9 +105,6 @@
 
 #define HEADER_IDENTIFIER @"header"
 
-#define SKLeftSidePaneWidthKey  @"SKLeftSidePaneWidth"
-#define SKRightSidePaneWidthKey @"SKRightSidePaneWidth"
-
 #define SNAPSHOT_HEIGHT 200.0
 
 #define EXTRA_ROW_HEIGHT 2.0

Modified: trunk/SKStringConstants.h
===================================================================
--- trunk/SKStringConstants.h   2026-09-14 14:46:15 UTC (rev 16476)
+++ trunk/SKStringConstants.h   2026-09-14 14:52:44 UTC (rev 16477)
@@ -50,6 +50,8 @@
 extern NSString * const SKLastOpenFileNamesKey;
 extern NSString * const SKOpenContentsPaneOnlyForTOCKey;
 extern NSString * const SKOpenNotesPaneOnlyForNotesKey;
+extern NSString * const SKLeftSidePaneWidthKey;
+extern NSString * const SKRightSidePaneWidthKey;
 extern NSString * const SKInitialWindowSizeOptionKey;
 extern NSString * const SKReopenLastOpenFilesKey;
 extern NSString * const SKRememberLastPageViewedKey;

Modified: trunk/SKStringConstants.m
===================================================================
--- trunk/SKStringConstants.m   2026-09-14 14:46:15 UTC (rev 16476)
+++ trunk/SKStringConstants.m   2026-09-14 14:52:44 UTC (rev 16477)
@@ -50,6 +50,8 @@
 NSString * const SKLastOpenFileNamesKey = @"SKLastOpenFileNames";
 NSString * const SKOpenContentsPaneOnlyForTOCKey = 
@"SKOpenContentsPaneOnlyForTOC";
 NSString * const SKOpenNotesPaneOnlyForNotesKey = 
@"SKOpenNotesPaneOnlyForNotes";
+NSString * const SKLeftSidePaneWidthKey = @"SKLeftSidePaneWidth";
+NSString * const SKRightSidePaneWidthKey = @"SKRightSidePaneWidth";
 NSString * const SKInitialWindowSizeOptionKey = @"SKInitialWindowSizeOption";
 NSString * const SKReopenLastOpenFilesKey = @"SKReopenLastOpenFiles";
 NSString * const SKRememberLastPageViewedKey = @"SKRememberLastPageViewed";

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