Changeset 604:0ec6a6f58f08 for src/mlx/gui/gui.py
- Timestamp:
- 03/01/15 16:53:08 (9 years ago)
- Branch:
- default
- hg-Phase:
- (<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/gui.py
r555 r604 396 396 def flightDefects(self): 397 397 """Get the flight defects.""" 398 return self._flightInfo.f lightDefects398 return self._flightInfo.faultsAndExplanations 399 399 400 400 @property … … 585 585 """Remove the flight log line with the given index.""" 586 586 gobject.idle_add(self._removeFlightLogLine, index) 587 588 def addFault(self, id, timestampString, text): 589 """Add a fault to the list of faults.""" 590 faultText = formatFlightLogLine(timestampString, text).strip() 591 self._flightInfo.addFault(id, faultText) 592 593 def updateFault(self, id, timestampString, text): 594 """Update a fault in the list of faults.""" 595 faultText = formatFlightLogLine(timestampString, text).strip() 596 self._flightInfo.updateFault(id, faultText) 597 598 def clearFault(self, id): 599 """Clear a fault in the list of faults.""" 600 self._flightInfo.clearFault(id) 587 601 588 602 def _removeFlightLogLine(self, index):
Note:
See TracChangeset
for help on using the changeset viewer.