Commits

Jason Medeiros committed 0406080

Reset dock icon badge to zero on refresh.

Comments (0)

Files changed (1)

CoruscationDelegate.m

 	if ([self.operationQueue operationCount] > 0)
 		return;
 	[self.managedObjectContext reset];
+
+	// Reset the dock icon badge. As update checks complete, they increment this value.
+	self.count = 0;
+	[[NSApplication sharedApplication] dockTile].badgeLabel = nil;
+
+	
 	FindSparkleBundlesOperation *op = [FindSparkleBundlesOperation new];
 	[self.operationQueue addOperation:op];
 }