Changeset 260 for trunk/hiptop/pester/net/sabi
- Timestamp:
- 07/20/06 02:57:15 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.