Changeset 134:9ce031d5d4a9 for src/mlx/gui
- Timestamp:
- 04/30/12 14:42:59 (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/gui.py
r133 r134 400 400 self._statusbar.updateConnection(False, False) 401 401 self._weightHelp.disable() 402 403 return True 402 404 403 405 def addFlightLogLine(self, timeStr, line): … … 442 444 self._wizard.setStage(stage) 443 445 if stage==const.STAGE_END: 444 self._disconnect() 446 # FIXME: perhaps a more elegant method, e.g. 447 # the simulator should provide a function disconnect 448 # with a final message 449 gobject.timeout_add(1.0, self._disconnect) 445 450 446 451 def setRating(self, rating): … … 564 569 self._weightHelp.reset() 565 570 self._weightHelp.enable() 571 572 def getFleetAsync(self, callback = None, force = None): 573 """Get the fleet asynchronously.""" 574 gobject.idle_add(self.getFleet, callback, force) 566 575 567 576 def getFleet(self, callback = None, force = False):
Note:
See TracChangeset
for help on using the changeset viewer.