adium 3558:525128b88010: Crash fix.

commits at adium.im commits at adium.im
Sat Nov 20 22:33:36 UTC 2010


details:	http://hg.adium.im/adium/rev/525128b88010
revision:	3558:525128b88010
author:		Frank Dowsett <wixardy at adium.im>
date:		Sat Nov 20 17:30:37 2010 -0500

Crash fix.

diffs (14 lines):

diff -r 2854e97d7e6b -r 525128b88010 Frameworks/Adium Framework/Source/ESContactAlertsViewController.m
--- a/Frameworks/Adium Framework/Source/ESContactAlertsViewController.m	Sat Nov 20 14:34:07 2010 -0500
+++ b/Frameworks/Adium Framework/Source/ESContactAlertsViewController.m	Sat Nov 20 17:30:37 2010 -0500
@@ -76,8 +76,8 @@
 	
 	[button_edit setTitle:AILocalizedStringFromTable(@"Edit", @"Buttons", "Verb 'edit' on a button")];
 	[button_edit setToolTip:AILocalizedString(@"Configure the selected action", nil)];
-	[button_addOrRemoveAlert setToolTip:AILocalizedString(@"Add an action for the selected event", nil) forSegment:0];
-	[button_addOrRemoveAlert setToolTip:AILocalizedString(@"Remove the selected action(s)", nil) forSegment:1];
+	[(NSSegmentedCell *)button_addOrRemoveAlert setToolTip:AILocalizedString(@"Add an action for the selected event", nil) forSegment:0];
+	[(NSSegmentedCell *)button_addOrRemoveAlert setToolTip:AILocalizedString(@"Remove the selected action(s)", nil) forSegment:1];
 
 	[outlineView_summary accessibilitySetOverrideValue:AILocalizedString(@"Events", nil)
 										  forAttribute:NSAccessibilityDescriptionAttribute];




More information about the commits mailing list