Changeset 606:acd6bab9eda5 for src
- Timestamp:
- 03/01/15 18:25:32 (10 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/gui.py
r605 r606 595 595 """Add a fault to the list of faults.""" 596 596 faultText = formatFlightLogLine(timestampString, text).strip() 597 self._flightInfo.addFault(id, faultText)597 gobject.idle_add(self._flightInfo.addFault, id, faultText) 598 598 599 599 def updateFault(self, id, timestampString, text): 600 600 """Update a fault in the list of faults.""" 601 601 faultText = formatFlightLogLine(timestampString, text).strip() 602 self._flightInfo.updateFault(id, faultText)602 gobject.idle_add(self._flightInfo.updateFault, id, faultText) 603 603 604 604 def clearFault(self, id): 605 605 """Clear a fault in the list of faults.""" 606 self._flightInfo.clearFault(id)606 gobject.idle_add(self._flightInfo.clearFault, id) 607 607 608 608 def _removeFlightLogLine(self, index):
Note:
See TracChangeset
for help on using the changeset viewer.