Ignore:
Timestamp:
07/16/23 10:55:47 (16 months ago)
Author:
István Váradi <ivaradi@…>
Branch:
python3
Phase:
public
Message:

The taxi sounds can be started on pushback (re #367)

File:
1 edited

Legend:

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

    r1067 r1094  
    270270        self._enableChecklists.set_active(config.enableChecklists)
    271271        self._checklistHotkey.set(config.checklistHotkey)
     272
     273        self._taxiSoundOnPushback.set_active(config.taxiSoundOnPushback)
    272274
    273275        self._autoUpdate.set_active(config.autoUpdate)
     
    321323        config.checklistHotkey = self._checklistHotkey.get()
    322324
     325        config.taxiSoundOnPushback = self._taxiSoundOnPushback.get_active()
     326
    323327        config.autoUpdate = self._autoUpdate.get_active()
    324328        config.updateURL = self._updateURL.get_text()
     
    700704        backgroundBox.pack_start(self._pilotHotkey, False, False, 4)
    701705
     706        self._taxiSoundOnPushback = Gtk.CheckButton(xstr("prefs_sounds_taxiSoundOnPushback"))
     707        self._taxiSoundOnPushback.set_use_underline(True)
     708        self._taxiSoundOnPushback.set_tooltip_text(xstr("prefs_sounds_taxiSoundOnPushback_tooltip"))
     709        backgroundBox.pack_start(self._taxiSoundOnPushback, False, False, 4)
     710
    702711        self._enableApproachCallouts = Gtk.CheckButton(xstr("prefs_sounds_approachCallouts"))
    703712        self._enableApproachCallouts.set_use_underline(True)
     
    750759        self._pilotControlsSounds.set_sensitive(active)
    751760        self._pilotControlsSoundsToggled(self._pilotControlsSounds)
     761        self._taxiSoundOnPushback.set_sensitive(active)
    752762        self._enableApproachCallouts.set_sensitive(active)
    753763        self._speedbrakeAtTD.set_sensitive(active)
Note: See TracChangeset for help on using the changeset viewer.