adium/adium

Parents ed655a387ff7
Children 15c77b70f583
Remove the padding for the account connection progress percentage to fix #16389.
--- a/Source/AIAccountListPreferences.m Thu May 23 10:44:09 2013 -0400
+++ b/Source/AIAccountListPreferences.m Thu May 23 11:19:50 2013 -0400
@@ -709,7 +709,7 @@
if ([account valueForProperty:@"connectionProgressString"] && [account boolValueForProperty:@"isConnecting"]) {
// Connection status if we're currently connecting, with the percent at the end
- statusMessage = [[account valueForProperty:@"connectionProgressString"] stringByAppendingFormat:@" (%2.f%%)", [[account valueForProperty:@"connectionProgressPercent"] doubleValue]];
+ statusMessage = [[account valueForProperty:@"connectionProgressString"] stringByAppendingFormat:@" (%.f%%)", [[account valueForProperty:@"connectionProgressPercent"] doubleValue]];
} else if ([account lastDisconnectionError] && ![account boolValueForProperty:@"isOnline"] && ![account boolValueForProperty:@"isConnecting"]) {
// If there's an error and we're not online and not connecting
NSMutableString *returnedMessage = [[[account lastDisconnectionError] mutableCopy] autorelease];