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
authorEvan Schoenberg
Mon Jul 27 16:27:22 2009 -0500 (2009-07-27)
changeset 255777528d1c767b
parent 2556 6acf6bdea9e8
child 2558 037f9ce70de2
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
Source/AIBorderlessListController.m
     1.1 --- a/Source/AIBorderlessListController.m	Mon Jul 27 16:20:52 2009 -0500
     1.2 +++ b/Source/AIBorderlessListController.m	Mon Jul 27 16:27:22 2009 -0500
     1.3 @@ -33,12 +33,12 @@
     1.4  	[self reloadListObject:nil];
     1.5  }
     1.6  /*!
     1.7 - * @brief When the contact order changes, check to ensure we have 1 or more visible rows
     1.8 + * @brief When asked to reload a list object, check to ensure we have 1 or more visible rows
     1.9   *
    1.10   * If we have no rows visible, hide the contact list, redisplaying it when rows are visible again.
    1.11   * orderOut: doesn't appear to work for borderless windows, so we just go to an alpha value of 0.
    1.12   */
    1.13 -- (void)contactOrderChanged:(NSNotification *)notification
    1.14 +- (void)reloadListObject:(NSNotification *)notification
    1.15  {
    1.16  	[super reloadListObject:notification];
    1.17