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

Most of the remaining messages are implemented

File:
1 edited

Legend:

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

    r133 r134  
    400400        self._statusbar.updateConnection(False, False)
    401401        self._weightHelp.disable()
     402
     403        return True
    402404           
    403405    def addFlightLogLine(self, timeStr, line):
     
    442444        self._wizard.setStage(stage)
    443445        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)
    445450
    446451    def setRating(self, rating):
     
    564569        self._weightHelp.reset()
    565570        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)
    566575
    567576    def getFleet(self, callback = None, force = False):
Note: See TracChangeset for help on using the changeset viewer.