adium 3841:fbc8ce02ce37: One more isOnSnowLeopardOrBetter removal.
commits at adium.im
commits at adium.im
Sun Apr 3 21:09:39 UTC 2011
details: http://hg.adium.im/adium/rev/fbc8ce02ce37
revision: 3841:fbc8ce02ce37
branch: (none)
author: Adrian Godoroja <robotive at me.com>
date: Mon Apr 04 00:09:23 2011 +0300
One more isOnSnowLeopardOrBetter removal.
diffs (23 lines):
diff -r eb3bed928488 -r fbc8ce02ce37 Source/AIListWindowController.m
--- a/Source/AIListWindowController.m Sun Apr 03 13:11:39 2011 +0200
+++ b/Source/AIListWindowController.m Mon Apr 04 00:09:23 2011 +0300
@@ -294,16 +294,14 @@
[[self window] setLevel:level];
}
-//A âstationaryâ window stays pinned to the desktop during Exposé. A supported API for this was introduced in Snow Leopard.
-- (void)setCollectionBehaviorOfWindow:(NSWindow *)window
- showOnAllSpaces:(BOOL)allSpaces
- isStationary:(BOOL)stationary
+// A "stationary" window stays pinned to the desktop during Expos
+- (void)setCollectionBehaviorOfWindow:(NSWindow *)window showOnAllSpaces:(BOOL)allSpaces isStationary:(BOOL)stationary
{
NSWindowCollectionBehavior behavior = NSWindowCollectionBehaviorDefault;
if (allSpaces)
behavior |= NSWindowCollectionBehaviorCanJoinAllSpaces;
- if (stationary && [NSApp isOnSnowLeopardOrBetter])
+ if (stationary)
behavior |= NSWindowCollectionBehaviorStationary;
[window setCollectionBehavior:behavior];
More information about the commits
mailing list