Changeset 169:eccafedbf55c
- Timestamp:
- 05/12/12 13:30:28 (12 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/prefs.py
r168 r169 537 537 self._pilotControlsSounds.set_use_underline(True) 538 538 self._pilotControlsSounds.set_tooltip_text(xstr("prefs_sounds_pilotControls_tooltip")) 539 self._pilotControlsSounds.connect("toggled", self._pilotControlsSoundsToggled) 539 540 backgroundBox.pack_start(self._pilotControlsSounds, False, False, 4) 540 541 … … 595 596 active = button.get_active() 596 597 self._pilotControlsSounds.set_sensitive(active) 598 self._pilotControlsSoundsToggled(self._pilotControlsSounds) 599 #self._approachCallOuts.set_sensitive(active) 600 self._speedbrakeAtTD.set_sensitive(active) 601 602 def _pilotControlsSoundsToggled(self, button): 603 """Called when the enable sounds button is toggled.""" 604 active = button.get_active() and self._enableSounds.get_active() 597 605 self._pilotHotkey.set_sensitive(active) 598 606 if active and self._checklistHotkey.get_sensitive(): 599 607 self._reconcileHotkeys(self._checklistHotkey, Hotkey.CHANGED_SHIFT, 600 608 self._pilotHotkey) 601 #self._approachCallOuts.set_sensitive(active)602 self._speedbrakeAtTD.set_sensitive(active)603 609 604 610 def _enableChecklistsToggled(self, button):
Note:
See TracChangeset
for help on using the changeset viewer.