Changeset 270:1d28c6212e4b for src/mlx/gui
- Timestamp:
- 07/02/12 17:18:15 (12 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/prefs.py
r249 r270 253 253 self._pilotControlsSounds.set_active(config.pilotControlsSounds) 254 254 self._pilotHotkey.set(config.pilotHotkey) 255 #self._approachCallOuts.set_active(config.approachCallOuts)255 self._enableApproachCallouts.set_active(config.enableApproachCallouts) 256 256 self._speedbrakeAtTD.set_active(config.speedbrakeAtTD) 257 257 … … 298 298 config.pilotControlsSounds = self._pilotControlsSounds.get_active() 299 299 config.pilotHotkey = self._pilotHotkey.get() 300 #config.approachCallOuts = self._approachCallOuts.get_active()300 config.enableApproachCallouts = self._enableApproachCallouts.get_active() 301 301 config.speedbrakeAtTD = self._speedbrakeAtTD.get_active() 302 302 … … 661 661 backgroundBox.pack_start(self._pilotHotkey, False, False, 4) 662 662 663 # self._approachCallOuts = gtk.CheckButton(xstr("prefs_sounds_approachCallOuts"))664 # self._approachCallOuts.set_use_underline(True)665 # self._approachCallOuts.set_tooltip_text(xstr("prefs_sounds_approachCallOuts_tooltip"))666 # backgroundBox.pack_start(self._approachCallOuts, False, False, 4)663 self._enableApproachCallouts = gtk.CheckButton(xstr("prefs_sounds_approachCallouts")) 664 self._enableApproachCallouts.set_use_underline(True) 665 self._enableApproachCallouts.set_tooltip_text(xstr("prefs_sounds_approachCallouts_tooltip")) 666 backgroundBox.pack_start(self._enableApproachCallouts, False, False, 4) 667 667 668 668 self._speedbrakeAtTD = gtk.CheckButton(xstr("prefs_sounds_speedbrakeAtTD")) … … 711 711 self._pilotControlsSounds.set_sensitive(active) 712 712 self._pilotControlsSoundsToggled(self._pilotControlsSounds) 713 #self._approachCallOuts.set_sensitive(active)713 self._enableApproachCallouts.set_sensitive(active) 714 714 self._speedbrakeAtTD.set_sensitive(active) 715 715
Note:
See TracChangeset
for help on using the changeset viewer.