Ignore:
Timestamp:
07/22/06 05:28:37 (18 years ago)
Author:
Nicholas Riley
Message:

Fix bug with alarm update interval; update tooltip when time changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/hiptop/pester/net/sabi/pester/AlarmListView.java

    r274 r275  
    2828            setHasBorder(true);
    2929        mToolTipAlarm = new danger.app.Alarm(0, this);
     30        Application.registerForEvent(this, Event.EVENT_TIME_CHANGED);
    3031        super.onDecoded();
    3132    }
     
    6465            Alarms.removeAlarm((Alarm)getFocusedItem());
    6566            return true;
     67        case Event.EVENT_TIME_CHANGED:
     68            if (mToolTipWindow == null || !mToolTipWindow.isVisible())
     69                return true;
    6670        case Event.EVENT_ALARM: // tooltip invalid
    67             // XXX should do this too if the time changes
    6871            showToolTip();
    6972            return true;
Note: See TracChangeset for help on using the changeset viewer.