adium 4637:ea26f9795cb9: Fixed contact list wrong position at st...

commits at adium.im commits at adium.im
Wed Feb 1 20:47:39 UTC 2012


details:	http://hg.adium.im/adium/rev/ea26f9795cb9
revision:	4637:ea26f9795cb9
branch:		(none)
author:		Adrian Godoroja <robotive at me.com>
date:		Wed Feb 01 22:47:32 2012 +0200

Fixed contact list wrong position at start-up under Mac OS X Lion. Fix suggested by wixardy.  Fixes #15341. Fixes #15480.

diffs (25 lines):

diff -r 9e55800b09b7 -r ea26f9795cb9 ChangeLogs/Changes Between Betas.txt
--- a/ChangeLogs/Changes Between Betas.txt	Wed Feb 01 21:07:34 2012 +0200
+++ b/ChangeLogs/Changes Between Betas.txt	Wed Feb 01 22:47:32 2012 +0200
@@ -1,4 +1,5 @@
 Adium 1.5xx
+ * Fixed contact list wrong position at start-up under Mac OS X Lion (#15341, #15480).
 
 Adium 1.5rc3
 General
diff -r 9e55800b09b7 -r ea26f9795cb9 Frameworks/AIUtilities Framework/Source/AIDockingWindow.m
--- a/Frameworks/AIUtilities Framework/Source/AIDockingWindow.m	Wed Feb 01 21:07:34 2012 +0200
+++ b/Frameworks/AIUtilities Framework/Source/AIDockingWindow.m	Wed Feb 01 22:47:32 2012 +0200
@@ -72,6 +72,12 @@
 	oldWindowFrame = NSMakeRect(0,0,0,0);
 	alreadyMoving = NO;
 	dockingEnabled = YES;
+	
+	// Disable Lion windows restore feature
+	// XXX - Remove the check on 10.7+
+	if ([self respondsToSelector:@selector(setRestorable:)]) {
+        [self setRestorable:NO]; // Remove on UI rewrite
+    }
 }
 
 //Stop observing movement




More information about the commits mailing list