[Adium-commits] adium 2026:9190be4ffd32: Oops. Fix a regression I introduced in ...

adium-commits at adiumx.com adium-commits at adiumx.com
Wed Apr 29 01:20:47 UTC 2009


details:	http://hg.adiumx.com/adium/rev/9190be4ffd32
revision:	2026:9190be4ffd32
author:		Colin Barrett <colin at springsandstruts.com>
date:		Tue Apr 28 18:20:27 2009 -0700

Oops. Fix a regression I introduced in 37c1a7da3110. Filter bar is now visble for contact lists with a scrollbar.

diffstat:

 Source/AIListWindowController.m |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diffs (13 lines):

diff -r 662e64ed34f4 -r 9190be4ffd32 Source/AIListWindowController.m
--- a/Source/AIListWindowController.m	Tue Apr 28 12:55:37 2009 -0700
+++ b/Source/AIListWindowController.m	Tue Apr 28 18:20:27 2009 -0700
@@ -1545,8 +1545,7 @@
 	}
     
     // Filter bar resizing
-    // Create a new variable here, because we want the bar's view to be based, visually, on the location of the contact list, not its enclosing super view.
-    NSRect barTargetFrame = contactListView.frame;
+    NSRect barTargetFrame = contactListView.enclosingScrollView.frame;
     if (filterBarIsVisible) {
         barTargetFrame.size.height = NSHeight(barTargetFrame) + NSHeight(filterBarView.bounds);
     } else {




More information about the commits mailing list