adium 2427:c2e131cc9347: Don't combine Growl messages for <=5 of...

commits at adium.im commits at adium.im
Sun May 31 18:04:46 UTC 2009


details:	http://hg.adium.im/adium/rev/c2e131cc9347
revision:	2427:c2e131cc9347
author:		Zachary West <zacw at adium.im>
date:		Sun May 31 14:04:39 2009 -0400

Don't combine Growl messages for <=5 of them.

diffs (21 lines):

diff -r 31c98c596434 -r c2e131cc9347 Source/NEHGrowlPlugin.m
--- a/Source/NEHGrowlPlugin.m	Sun May 31 13:24:33 2009 -0400
+++ b/Source/NEHGrowlPlugin.m	Sun May 31 14:04:39 2009 -0400
@@ -279,7 +279,7 @@
 		return;
 	}
 	
-	if (events.count <= 2) {
+	if (events.count <= 5) {
 		// If we only have a few events, just post them individually.
 		
 		for (NSDictionary *event in events) {
@@ -290,7 +290,7 @@
 		}
 		
 	} else {
-		// We have multiple events; let's combine them.
+		// We have a bunch of events; let's combine them.
 		AIListObject *overallListObject = nil;
 
 		// If all events are from the same listObject, let's use that one in the message.




More information about the commits mailing list