From 695ba5c2c7168059c0aa243ea7303ac57e10d455 Mon Sep 17 00:00:00 2001 From: "thomasvl@gmail.com" Date: Fri, 27 Feb 2009 22:23:35 +0000 Subject: docs don't say it, but isHidden isn't always set, updating accordingly --- AppKit/GTMNSWorkspace+Running.h | 2 ++ AppKit/GTMNSWorkspace+RunningTest.m | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/AppKit/GTMNSWorkspace+Running.h b/AppKit/GTMNSWorkspace+Running.h index d45b321..483833f 100644 --- a/AppKit/GTMNSWorkspace+Running.h +++ b/AppKit/GTMNSWorkspace+Running.h @@ -27,6 +27,8 @@ // kGTMWorkspaceRunningFileCreator, kGTMWorkspaceRunningPID, // kGTMWorkspaceRunningBundlePath, kGTMWorkspaceRunningBundleIdentifier, // kGTMWorkspaceRunningBundleName, kGTMWorkspaceRunningBundleExecutable, +// And experience says the follow might also not be there: +// kGTMWorkspaceRunningIsHidden // Make sure to use numberToProcessSerialNumber: on the return values // of these keys to get valid PSNs on both Leopard and Tiger. diff --git a/AppKit/GTMNSWorkspace+RunningTest.m b/AppKit/GTMNSWorkspace+RunningTest.m index 6e8ff33..4c9af6c 100644 --- a/AppKit/GTMNSWorkspace+RunningTest.m +++ b/AppKit/GTMNSWorkspace+RunningTest.m @@ -62,7 +62,7 @@ kGTMWorkspaceRunningPSN, kGTMWorkspaceRunningFlavor, kGTMWorkspaceRunningAttributes, kGTMWorkspaceRunningLSBackgroundOnly, - kGTMWorkspaceRunningLSUIElement, kGTMWorkspaceRunningIsHidden, + kGTMWorkspaceRunningLSUIElement, kGTMWorkspaceRunningCheckedIn, kGTMWorkspaceRunningBundleVersion, kGTMWorkspaceRunningLSUIPresentationMode, -- cgit v1.2.3