adium 2312:f8561f4e3dc0: Set the stepper's values, so the first ...

commits at adium.im commits at adium.im
Mon May 25 02:50:51 UTC 2009


details:	http://hg.adium.im/adium/rev/f8561f4e3dc0
revision:	2312:f8561f4e3dc0
author:		Zachary West <zacw at adium.im>
date:		Sun May 24 22:50:44 2009 -0400

Set the stepper's values, so the first press doesn't revert to the default. Refs #12188.

diffstat:

 Source/ESStatusPreferences.m |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (15 lines):

diff -r f15117318281 -r f8561f4e3dc0 Source/ESStatusPreferences.m
--- a/Source/ESStatusPreferences.m	Sun May 24 22:34:03 2009 -0400
+++ b/Source/ESStatusPreferences.m	Sun May 24 22:50:44 2009 -0400
@@ -520,9 +520,11 @@
 	
 	[checkBox_idle setState:[[prefDict objectForKey:KEY_STATUS_REPORT_IDLE] boolValue]];
 	[textField_idleMinutes setDoubleValue:([[prefDict objectForKey:KEY_STATUS_REPORT_IDLE_INTERVAL] doubleValue] / 60.0)];
+	[stepper_idleMinutes setDoubleValue:([[prefDict objectForKey:KEY_STATUS_REPORT_IDLE_INTERVAL] doubleValue] / 60.0)];
 
 	[checkBox_autoAway setState:[[prefDict objectForKey:KEY_STATUS_AUTO_AWAY] boolValue]];
 	[textField_autoAwayMinutes setDoubleValue:([[prefDict objectForKey:KEY_STATUS_AUTO_AWAY_INTERVAL] doubleValue] / 60.0)];
+	[stepper_autoAwayMinutes setDoubleValue:([[prefDict objectForKey:KEY_STATUS_AUTO_AWAY_INTERVAL] doubleValue] / 60.0)];
 
 	[checkBox_fastUserSwitching setState:[[prefDict objectForKey:KEY_STATUS_FUS] boolValue]];
 	[checkBox_screenSaver setState:[[prefDict objectForKey:KEY_STATUS_SS] boolValue]];




More information about the commits mailing list