adium 2123:ab6768bfaff1: Move the FT progress window status text...

commits at adium.im commits at adium.im
Fri May 8 00:18:52 UTC 2009


details:	http://hg.adium.im/adium/rev/ab6768bfaff1
revision:	2123:ab6768bfaff1
author:		Zachary West <zacw at adium.im>
date:		Thu May 07 20:07:19 2009 -0400

Move the FT progress window status text down a pixel or two.
Subject: adium 2124:002aa3796660: Only set the command+period key equivalent for selected transfers.

details:	http://hg.adium.im/adium/rev/002aa3796660
revision:	2124:002aa3796660
author:		Zachary West <zacw at adium.im>
date:		Thu May 07 20:18:30 2009 -0400

Only set the command+period key equivalent for selected transfers.

diffstat:

 Resources/FileTransferProgressWindow.nib/keyedobjects.nib |     
 Source/ESFileTransferProgressView.m                       |  12 ++++++++----
 2 files changed, 8 insertions(+), 4 deletions(-)

diffs (39 lines):

diff -r f22351d0f309 -r 002aa3796660 Resources/FileTransferProgressWindow.nib/keyedobjects.nib
Binary file Resources/FileTransferProgressWindow.nib/keyedobjects.nib has changed
diff -r f22351d0f309 -r 002aa3796660 Source/ESFileTransferProgressView.m
--- a/Source/ESFileTransferProgressView.m	Thu May 07 20:06:37 2009 -0400
+++ b/Source/ESFileTransferProgressView.m	Thu May 07 20:18:30 2009 -0400
@@ -280,6 +280,9 @@
 	[textField_destination setTextColor:newColor];		
 	[textField_fileName setTextColor:newColor];
 	
+	[textField_detailsLabel setTextColor:newColor];
+	
+	
 	[self updateButtonStopResume];
 	[self updateButtonReveal];
 	[self setNeedsDisplay:YES];
@@ -316,6 +319,7 @@
 	if (isSelected != flag) {
 		isSelected = flag;
 		
+		[self updateButtonStopResume];
 		[self updateColors];
 	}
 }
@@ -337,11 +341,11 @@
 
 			[button_stopResume setAlternateImage:[NSImage imageNamed:@"FTProgressResendPressed" forClass:[self class]]];
 		}
-	} else {
-		[button_stopResume setKeyEquivalent:@"."];
-		[button_stopResume setKeyEquivalentModifierMask:NSCommandKeyMask];
-		
+	} else {		
 		if (isSelected) {
+			[button_stopResume setKeyEquivalent:@"."];
+			[button_stopResume setKeyEquivalentModifierMask:NSCommandKeyMask];
+			
 			[button_stopResume setImage:[NSImage imageNamed:(buttonStopResumeIsHovered ? @"FTProgressStopRollover_Selected" : @"FTProgressStop_Selected")
 													forClass:[self class]]];
 




More information about the commits mailing list