adium 3919:10181f3ca95d: As indicated by the comment, this can b...

commits at adium.im commits at adium.im
Fri Jun 3 14:35:36 UTC 2011


details:	http://hg.adium.im/adium/rev/10181f3ca95d
revision:	3919:10181f3ca95d
branch:		(none)
author:		Thijs Alkemade <thijsalkemade at gmail.com>
date:		Fri Jun 03 16:35:19 2011 +0200

As indicated by the comment, this can be removed now that 1.4 is out.

diffs (19 lines):

diff -r b88499df0305 -r 10181f3ca95d Source/AIInfoInspectorPane.m
--- a/Source/AIInfoInspectorPane.m	Tue May 31 01:26:12 2011 +0200
+++ b/Source/AIInfoInspectorPane.m	Fri Jun 03 16:35:19 2011 +0200
@@ -838,14 +838,7 @@
 {
 	NSArray *tooltipEntries = [[adium.interfaceController contactListTooltipPrimaryEntries] arrayByAddingObjectsFromArray:[adium.interfaceController contactListTooltipSecondaryEntries]];
 	for (id <AIContactListTooltipEntry> tooltipEntry in tooltipEntries) {
-		/* Note: shouldDisplayInContactInspector is a required part of the AIContactListTooltipEntry protocol. However,
-		 * we are checking for its implementation for compatibility with Adium 1.2 tooltip plugins since Adium 1.3
-		 * provides no decent way to notify the user that a plugin is incompatible.
-		 *
-		 * XXX - Remove me in Adium 1.4
-		 */
-		if (![tooltipEntry respondsToSelector:@selector(shouldDisplayInContactInspector)] ||
-			[tooltipEntry shouldDisplayInContactInspector]) {
+		if ([tooltipEntry shouldDisplayInContactInspector]) {
 			id label, value;
 			if ((label = [tooltipEntry labelForObject:inContact]) &&
 				(value = [tooltipEntry entryForObject:inContact])) {




More information about the commits mailing list