aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar thomasvl@gmail.com <thomasvl@gmail.com@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2009-02-27 22:23:35 +0000
committerGravatar thomasvl@gmail.com <thomasvl@gmail.com@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2009-02-27 22:23:35 +0000
commit695ba5c2c7168059c0aa243ea7303ac57e10d455 (patch)
tree2c88ca3acd20c521e18b93557fc04b8e3a9a88ea
parentb1df2944b71fad420fd04607e16a80d7591a3c1b (diff)
docs don't say it, but isHidden isn't always set, updating accordingly
-rw-r--r--AppKit/GTMNSWorkspace+Running.h2
-rw-r--r--AppKit/GTMNSWorkspace+RunningTest.m2
2 files changed, 3 insertions, 1 deletions
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,