Ignore:
Timestamp:
06/04/12 12:24:42 (12 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Started the possibilities to log faults differently

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/gui/gui.py

    r221 r225  
    463463        return True
    464464           
    465     def addFlightLogLine(self, timeStr, line):
     465    def addFlightLogLine(self, timeStr, line, isFault = False):
    466466        """Write the given message line to the log."""
    467467        gobject.idle_add(self._writeLog,
    468                          formatFlightLogLine(timeStr, line),
     468                         formatFlightLogLine(timeStr, line, isFault = isFault),
    469469                         self._logView)
    470470
    471     def updateFlightLogLine(self, index, timeStr, line):
     471    def updateFlightLogLine(self, index, timeStr, line, isFault = False):
    472472        """Update the line with the given index."""
    473473        gobject.idle_add(self._updateFlightLogLine, index,
    474                          formatFlightLogLine(timeStr, line))
     474                         formatFlightLogLine(timeStr, line,
     475                                             isFault = isFault))
    475476
    476477    def _updateFlightLogLine(self, index, line):
Note: See TracChangeset for help on using the changeset viewer.