- Timestamp:
- 07/24/06 07:19:50 (18 years ago)
- Location:
- trunk/hiptop/pester
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hiptop/pester/build.xml
r237 r280 12 12 <property name="APP_VERSION_BUILD" value="1"/> 13 13 14 <property name="TARGET_LIB_VERSION" value="3.0" /> 15 14 16 <import file="${DANGER_HOME}/tools/build_common.xml"/> 15 17 </project> -
trunk/hiptop/pester/locale/en_US/Pester.rsrc
r278 r280 163 163 alignBaseline = ID_AT_BUTTON 164 164 positionToRight = ID_AT_BUTTON : 1 165 165 166 166 dateEditor 167 167 id = ID_DATE_EDITOR … … 170 170 alignBaseline = ID_TIME_EDITOR 171 171 className = "net.sabi.pester.AlarmDateEditor" 172 positionDynamically # can move if time format changes 172 173 173 174 datePicker … … 176 177 positionToRight = ID_DATE_EDITOR : 1 177 178 alignTop = ID_DATE_EDITOR 179 positionDynamically # can move if time format changes 178 180 endGroupBox 179 181 … … 220 222 button 221 223 event = EVENT_SET_ALARM 222 title = " Edit..."224 title = "Reschedule..." 223 225 position = buttonBottom2 224 226 button -
trunk/hiptop/pester/net/sabi/pester/Alarm.java
r277 r280 278 278 if (i <= 24 * 60 * 60) { 279 279 i %= 60; 280 return (i == 0 ? 60 : i );280 return (i == 0 ? 60 : i + 1); 281 281 } 282 282 i %= 3600; 283 return (i == 0 ? 3600 : i );283 return (i == 0 ? 3600 : i + 1); 284 284 } 285 285 -
trunk/hiptop/pester/net/sabi/pester/AlarmSetDialog.java
r270 r280 23 23 import danger.ui.StaticTextBox; 24 24 import danger.ui.TypeAheadTextField; 25 import danger.ui.View; 25 26 import danger.util.DEBUG; 26 27 … … 136 137 Application.registerForEvent(this, Event.EVENT_TIME_CHANGED); 137 138 show(); 139 if (!asNew) setFocusedDescendant(isIn() ? (View)mPeriodField : 140 (View)mTimeEditor); 138 141 if (!mHaveShownWindow) { 139 142 Rect alarmRect = mSetAlarmButton.getFrame(); … … 145 148 mHaveShownWindow = true; 146 149 setAutoSize(false); // don't resize to contain it next time 150 // XXX still a minor potential race here, but it's so unlikely 151 // as to not be worth fixing 152 Application.registerForEvent(this, Event.EVENT_TIME_FORMAT_CHANGED); 147 153 } 148 154 } … … 244 250 stopEditing(); 245 251 return true; 252 case Event.EVENT_TIME_FORMAT_CHANGED: // time format changed 253 mTimeEditor.setFormat(DateTimeEditor.FORMAT_TIME_LONG); 254 return true; 246 255 case Event.EVENT_TIME_CHANGED: // time on device changed 247 256 case Event.EVENT_ALARM: // computed time invalid
Note:
See TracChangeset
for help on using the changeset viewer.