Changeset 274 for trunk/hiptop
- Timestamp:
- 07/22/06 04:39:02 (18 years ago)
- Location:
- trunk/hiptop/pester
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hiptop/pester/locale/en_US/Pester.rsrc
r261 r274 58 58 59 59 activeListView 60 fillToBottom = 061 60 id = ID_ALARM_LIST_VIEW 62 61 alignWithParentLeft = 0 -
trunk/hiptop/pester/net/sabi/pester/AlarmListView.java
r273 r274 22 22 public void onDecoded() { 23 23 sAlarmListWindow = (AlarmListWindow)getWindow(); 24 setAutoResize(true); 25 setHasBorder(false); // this doesn't work in the rsrc file 24 26 setList(Alarms.getList()); 27 if (alarmsSet() > 0) 28 setHasBorder(true); 25 29 mToolTipAlarm = new danger.app.Alarm(0, this); 26 30 super.onDecoded(); … … 110 114 // which is admirable in general, but not what we want 111 115 setFocus(index); 116 setHasBorder(true); 112 117 } 113 118 public void onItemRemoved(ActiveList list, Object item, int index) { … … 115 120 sAlarmListWindow.updateAlarmCount(); 116 121 super.onItemRemoved(list, item, index); 122 if (alarmsSet() == 0) 123 setHasBorder(false); 117 124 } 118 125 }
Note:
See TracChangeset
for help on using the changeset viewer.