Changeset 260 for trunk/hiptop/pester
- Timestamp:
- 07/20/06 02:57:15 (18 years ago)
- Location:
- trunk/hiptop/pester
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hiptop/pester/locale/en_US/Pester.rsrc
r253 r260 49 49 title = "Discard" 50 50 shortcut = deleteKey 51 event = EVENT_ DISCARD_ALARM51 event = EVENT_CONFIRM_DISCARD_ALARM 52 52 endMenu 53 53 screen ID_ALARM_LIST_SCREEN … … 216 216 button 217 217 event = EVENT_DISMISS_ALARM 218 title = "OK"218 title = okButton 219 219 position = buttonBottom1 220 220 shortcut = doneButton 221 221 endAlert 222 223 alert ID_DISCARD_ALERT 224 appAlertStyle 225 title = "Discard Alarm?" 226 icon = stopIcon 227 text = "Permanently discard this alarm?" 228 button 229 event = EVENT_DISCARD_ALARM 230 title = discardButton 231 position = buttonBottom2 232 button 233 title = backButton 234 position = buttonBottom1 235 shortcut = doneButton 236 endAlert -
trunk/hiptop/pester/net/sabi/pester/AlarmListView.java
r259 r260 3 3 import danger.app.Application; 4 4 import danger.app.Event; 5 import danger.ui.AlertWindow; 5 6 import danger.ui.ActiveListView; 6 7 import danger.util.ActiveList; … … 41 42 alarmSetDialog().editAlarm(new Alarm(), true); 42 43 return true; 44 case EVENT_CONFIRM_DISCARD_ALARM: 45 AlertWindow alert = 46 Application.getCurrentApp().getAlert(ID_DISCARD_ALERT, this); 47 // XXX localize 48 alert.setMessage("Permanently discard \u201c" + 49 ((Alarm)getFocusedItem()).getMessage() + 50 "\u201d?"); 51 alert.show(); 52 return true; 43 53 case EVENT_DISCARD_ALARM: 44 // XXX prompt for confirmation45 54 Alarms.removeAlarm((Alarm)getFocusedItem()); 46 55 return true;
Note:
See TracChangeset
for help on using the changeset viewer.