Revision: 14751
http://sourceforge.net/p/skim-app/code/14751
Author: hofman
Date: 2024-11-27 10:32:36 +0000 (Wed, 27 Nov 2024)
Log Message:
-----------
use application as parameter name
Modified Paths:
--------------
trunk/SKApplicationController.m
Modified: trunk/SKApplicationController.m
===================================================================
--- trunk/SKApplicationController.m 2024-11-26 22:51:55 UTC (rev 14750)
+++ trunk/SKApplicationController.m 2024-11-27 10:32:36 UTC (rev 14751)
@@ -168,7 +168,7 @@
#pragma mark NSApplication delegate
-- (BOOL)applicationShouldOpenUntitledFile:(NSApplication *)sender{
+- (BOOL)applicationShouldOpenUntitledFile:(NSApplication *)application {
if (didCheckReopen == NO) {
NSUserDefaults *sud = [NSUserDefaults standardUserDefaults];
@@ -252,11 +252,11 @@
}
// we don't want to reopen last open files when re-activating the app
-- (BOOL)applicationShouldHandleReopen:(NSApplication *)theApplication
hasVisibleWindows:(BOOL)flag {
+- (BOOL)applicationShouldHandleReopen:(NSApplication *)application
hasVisibleWindows:(BOOL)flag {
return flag;
}
-- (void)application:(NSApplication *)sender openURLs:(NSArray *)urls {
+- (void)application:(NSApplication *)application openURLs:(NSArray *)urls {
didCheckReopen = YES;
NSAppleEventDescriptor *errr = [[[NSAppleEventManager
sharedAppleEventManager] currentAppleEvent] descriptorForKeyword:'errr'];
@@ -292,7 +292,7 @@
}
}
-- (NSApplicationPrintReply)application:(NSApplication *)sender
printFiles:(NSArray *)fileNames withSettings:(NSDictionary *)printSettings
showPrintPanels:(BOOL)showPrintPanels {
+- (NSApplicationPrintReply)application:(NSApplication *)application
printFiles:(NSArray *)fileNames withSettings:(NSDictionary *)printSettings
showPrintPanels:(BOOL)showPrintPanels {
didCheckReopen = YES;
// keep track to see whether we finished before this method returns
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