adium 2557:77528d1c767b: The notification selector in the superc...

commits at adium.im commits at adium.im
Mon Jul 27 21:24:41 UTC 2009


details:	http://hg.adium.im/adium/rev/77528d1c767b
revision:	2557:77528d1c767b
author:		Evan Schoenberg
date:		Mon Jul 27 16:27:22 2009 -0500

The notification selector in the superclass was changed, but this subclassing of it wasn't fully updated. Fixes updating of the hidden/visible state of a borderless contact list based upon whether or not it contains any rows and is supposed to hide when empty. Fixes #12206

diffs (18 lines):

diff -r 6acf6bdea9e8 -r 77528d1c767b Source/AIBorderlessListController.m
--- a/Source/AIBorderlessListController.m	Mon Jul 27 16:20:52 2009 -0500
+++ b/Source/AIBorderlessListController.m	Mon Jul 27 16:27:22 2009 -0500
@@ -33,12 +33,12 @@
 	[self reloadListObject:nil];
 }
 /*!
- * @brief When the contact order changes, check to ensure we have 1 or more visible rows
+ * @brief When asked to reload a list object, check to ensure we have 1 or more visible rows
  *
  * If we have no rows visible, hide the contact list, redisplaying it when rows are visible again.
  * orderOut: doesn't appear to work for borderless windows, so we just go to an alpha value of 0.
  */
-- (void)contactOrderChanged:(NSNotification *)notification
+- (void)reloadListObject:(NSNotification *)notification
 {
 	[super reloadListObject:notification];
 




More information about the commits mailing list