Plugins/Purple Service/CBPurpleAccount.m
changeset 3899 b737e71520e4
parent 3782 e660e9081fb6
child 3951 983d9c761506
equal deleted inserted replaced
3898:1a4106e45d37 3899:b737e71520e4
  2135 - (void)accountConnectionProgressStep:(NSNumber *)step percentDone:(NSNumber *)connectionProgressPrecent
  2135 - (void)accountConnectionProgressStep:(NSNumber *)step percentDone:(NSNumber *)connectionProgressPrecent
  2136 {
  2136 {
  2137 	NSString	*progressString = [self connectionStringForStep:[step integerValue]];
  2137 	NSString	*progressString = [self connectionStringForStep:[step integerValue]];
  2138 
  2138 
  2139 	[self setValue:progressString forProperty:@"connectionProgressString" notify:NO];
  2139 	[self setValue:progressString forProperty:@"connectionProgressString" notify:NO];
  2140 	[self setValue:connectionProgressPrecent forProperty:@"connectionProgressPercent" notify:NO];	
  2140 	[self setValue:[NSNumber numberWithDouble:[connectionProgressPrecent doubleValue] * 100] forProperty:@"connectionProgressPercent" notify:NO];
  2141 
  2141 
  2142 	//Apply any changes
  2142 	//Apply any changes
  2143 	[self notifyOfChangedPropertiesSilently:NO];
  2143 	[self notifyOfChangedPropertiesSilently:NO];
  2144 	
  2144 	
  2145 	AILog(@"************ %@ --step-- %i",self.UID,[step integerValue]);
  2145 	AILog(@"************ %@ --step-- %i",self.UID,[step integerValue]);