adium-1.4 3609:97743a0ab02c: Patch from kbotc: "Following Apple'...
commits at adium.im
commits at adium.im
Sun Aug 21 20:07:13 UTC 2011
details: http://hg.adium.im/adium-1.4/rev/97743a0ab02c
revision: 3609:97743a0ab02c
branch: (none)
author: Robert Vehse
date: Mon Aug 15 23:19:09 2011 +0200
Patch from kbotc: "Following Apple's documentation, we won't reload the children if they're not visible". Refs #14294.
(transplanted from a00b7964253bf3ebd2430d07c2fc794657f20be7)
diffs (18 lines):
diff -r c5435740e49b -r 97743a0ab02c Source/AIListController.m
--- a/Source/AIListController.m Sun Aug 21 15:06:27 2011 -0500
+++ b/Source/AIListController.m Mon Aug 15 23:19:09 2011 +0200
@@ -423,8 +423,12 @@
if (!object || (object == contactList)) {
[contactListView reloadData];
} else {
- for (AIProxyListObject *proxyObject in object.proxyObjects)
- [contactListView reloadItem:proxyObject reloadChildren:YES];
+ for (AIProxyListObject *proxyObject in object.proxyObjects) {
+ if ([proxyObject.listObject isExpanded])
+ [contactListView reloadItem:proxyObject reloadChildren:YES];
+ else
+ [contactListView reloadItem:proxyObject reloadChildren:NO];
+ }
}
}
More information about the commits
mailing list