Changeset 844:580e2368c86e for src/mlx/gui
- Timestamp:
- 04/17/17 07:11:58 (8 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/info.py
r843 r844 54 54 return (frame, comments) 55 55 56 def __init__(self, gui ):56 def __init__(self, gui, mainInstance = True): 57 57 """Construct the flight info tab.""" 58 58 super(FlightInfo, self).__init__() 59 59 self._gui = gui 60 self._mainInstance = mainInstance 60 61 61 62 self._commentsAlignment = gtk.Alignment(xalign = 0.5, yalign = 0.5, … … 183 184 def delayCodesChanged(self): 184 185 """Callewd when the delay codes have changed.""" 185 self._gui.delayCodesChanged() 186 if self._mainInstance: 187 self._gui.delayCodesChanged() 186 188 187 189 def _commentsChanged(self, textbuffer): 188 190 """Called when the comments have changed.""" 189 self._gui.commentsChanged() 191 if self._mainInstance: 192 self._gui.commentsChanged() 190 193 191 194 def _faultExplanationsChanged(self, faultExplainWidget, fullyExplained): 192 195 """Called when the status of the fault explanations has changed.""" 193 self._gui.faultExplanationsChanged() 196 if self._mainInstance: 197 self._gui.faultExplanationsChanged()
Note:
See TracChangeset
for help on using the changeset viewer.