adium 2153:324a191f6542: Set the suppression NSButton to be an A...

commits at adium.im commits at adium.im
Mon May 11 06:25:55 UTC 2009


details:	http://hg.adium.im/adium/rev/324a191f6542
revision:	2153:324a191f6542
author:		Zachary West <zacw at adium.im>
date:		Mon May 11 02:25:40 2009 -0400

Set the suppression NSButton to be an AILocalizationButton so it adjusts for string size.

diffstat:

 Frameworks/Adium Framework/Resources/TextAndButtonsWindow.nib/keyedobjects.nib |    
 Frameworks/Adium Framework/Source/ESTextAndButtonsWindowController.m           |  2 +-
 2 files changed, 1 insertions(+), 1 deletions(-)

diffs (14 lines):

diff -r 5636bffdcde4 -r 324a191f6542 Frameworks/Adium Framework/Resources/TextAndButtonsWindow.nib/keyedobjects.nib
Binary file Frameworks/Adium Framework/Resources/TextAndButtonsWindow.nib/keyedobjects.nib has changed
diff -r 5636bffdcde4 -r 324a191f6542 Frameworks/Adium Framework/Source/ESTextAndButtonsWindowController.m
--- a/Frameworks/Adium Framework/Source/ESTextAndButtonsWindowController.m	Mon May 11 02:19:32 2009 -0400
+++ b/Frameworks/Adium Framework/Source/ESTextAndButtonsWindowController.m	Mon May 11 02:25:40 2009 -0400
@@ -369,7 +369,7 @@
 		heightChange += optionFrame.size.height;
 		
 		[checkbox_suppression setFrame:optionFrame];
-		[checkbox_suppression setTitle:suppression];
+		[checkbox_suppression setLocalizedString:suppression];
 		[checkbox_suppression setState:NSOffState];
 	} else {
 		[checkbox_suppression setHidden:YES];




More information about the commits mailing list