adium 2108:e5bf51783c88: Update the title when a chat or its lis...

commits at adium.im commits at adium.im
Thu May 7 02:42:49 UTC 2009


details:	http://hg.adium.im/adium/rev/e5bf51783c88
revision:	2108:e5bf51783c88
author:		Zachary West <zacw at adium.im>
date:		Wed May 06 22:42:44 2009 -0400

Update the title when a chat or its list object's display name changes. Fixes #11942.

diffstat:

 Plugins/Dual Window Interface/AIMessageTabViewItem.m |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (19 lines):

diff -r 6dcbf494dbd6 -r e5bf51783c88 Plugins/Dual Window Interface/AIMessageTabViewItem.m
--- a/Plugins/Dual Window Interface/AIMessageTabViewItem.m	Wed May 06 22:36:16 2009 -0400
+++ b/Plugins/Dual Window Interface/AIMessageTabViewItem.m	Wed May 06 22:42:44 2009 -0400
@@ -178,6 +178,7 @@
     //If the display name changed, we resize the tabs
     if (notification == nil || [keys containsObject:@"Display Name"]) {
 		[self setLabel:[self label]];
+		[self updateTabStatusIcon];
     } else if ([keys containsObject:@"UnviewedContent"]) {
 		[self setValue:nil forKeyPath:@"objectCount"];
 		[self setValue:nil forKeyPath:@"countColor"];
@@ -222,6 +223,7 @@
 		//If the list object's display name changed, we resize the tabs
 		if (!keys || [keys containsObject:@"Display Name"]) {
 			[self setLabel:[self label]];
+			[self updateTabStatusIcon];
 		}
 	}
 }




More information about the commits mailing list