Changeset 261:aad834a04851 for src/mlx


Ignore:
Timestamp:
06/26/12 15:20:18 (12 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Added airport names

Location:
src/mlx
Files:
1 added
1 edited

Legend:

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

    r257 r261  
    2222import mlx.web as web
    2323import mlx.singleton as singleton
     24import mlx.airports as airports
    2425from  mlx.i18n import xstr, getLanguage
    2526from mlx.pirep import PIREP
     
    517518        self._wizard.setStage(stage)
    518519        if stage==const.STAGE_END:
     520            welcomeMessage = \
     521                airports.getWelcomeMessage(self.bookedFlight.arrivalICAO)
    519522            self._disconnect(closingMessage =
    520                              "Flight plan closed. Welcome to %s" % \
    521                              (self.bookedFlight.arrivalICAO,),
     523                             "Flight plan closed. " + welcomeMessage,
    522524                             duration = 5)
    523525
Note: See TracChangeset for help on using the changeset viewer.