Changeset 170:7cda0cc74e19 for src/mlx/gui
- Timestamp:
- 05/12/12 15:48:45 (13 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- src/mlx/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/flight.py
r164 r170 10 10 from mlx.pirep import PIREP 11 11 from mlx.i18n import xstr 12 from mlx.sound import startSound 12 13 13 14 import datetime … … 1423 1424 bookedFlight.departureICAO, 1424 1425 bookedFlight.arrivalICAO) 1426 startSound(const.SOUND_NOTAM) 1425 1427 1426 1428 def _notamsCallback(self, returned, result): -
src/mlx/gui/gui.py
r168 r170 1130 1130 """Handle the hotkeys.""" 1131 1131 if id==self._hotkeySetID: 1132 print "gui.GUI._handleHotkeys", hotkeys 1132 for index in hotkeys: 1133 if index==0: 1134 self._flight.pilotHotkeyPressed() 1135 else: 1136 self._flight.checklistHotkeyPressed()
Note:
See TracChangeset
for help on using the changeset viewer.