Skip to content

Commit

Permalink
Conf and GUI/Settings: renamed config item and removed what's new ent…
Browse files Browse the repository at this point in the history
…ry (review by jteh). re #834.
  • Loading branch information
josephsl committed May 26, 2014
1 parent 6a5a60b commit 80277e3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion source/config/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def validateConfig(configObj,validator,validationResult=None,keyList=None):
language = string(default="Windows")
saveConfigurationOnExit = boolean(default=True)
askToExit = boolean(default=true)
playStartAndExitSound = boolean(default=true)
playStartAndExitSounds = boolean(default=true)
#possible log levels are DEBUG, IO, DEBUGWARNING, INFO
loggingLevel = string(default="INFO")
showWelcomeDialogAtStartup = boolean(default=true)
Expand Down
7 changes: 3 additions & 4 deletions source/gui/settingsDialogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,10 +155,9 @@ def makeSettings(self, settingsSizer):
self.askToExitCheckBox.SetValue(config.conf["general"]["askToExit"])
settingsSizer.Add(self.askToExitCheckBox,border=10,flag=wx.BOTTOM)
# Translators: The label for a setting in general settings to play sounds when NVDA starts or exits.
self.playStartAndExitSoundCheckBox=wx.CheckBox(self,wx.NewId(),label=_("&Play sounds when starting or exiting NVDA"))
self.playStartAndExitSoundCheckBox.SetValue(config.conf["general"]["playStartAndExitSound"])
settingsSizer.Add(self.playStartAndExitSoundCheckBox,border=10,flag=wx.BOTTOM)

self.playStartAndExitSoundsCheckBox=wx.CheckBox(self,wx.NewId(),label=_("&Play sounds when starting or exiting NVDA"))
self.playStartAndExitSoundsCheckBox.SetValue(config.conf["general"]["playStartAndExitSounds"])
settingsSizer.Add(self.playStartAndExitSoundsCheckBox,border=10,flag=wx.BOTTOM)
logLevelSizer=wx.BoxSizer(wx.HORIZONTAL)
# Translators: The label for a setting in general settings to select logging level of NVDA as it runs (available options and what they are logged are found under comments for the logging level messages themselves).
logLevelLabel=wx.StaticText(self,-1,label=_("L&ogging level:"))
Expand Down
1 change: 0 additions & 1 deletion user_docs/en/changes.t2t
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
- In accessible Java applications, keyboard shortcuts are now announced for controls that have them. (#3881)
- In browse mode, labels on landmarks are now reported. They are also included in the Elements List dialog. (#1195)
- In browse mode, labelled regions are now treated as landmarks. (#3741)
- A new option in General Settings to play sounds when NVDA starts or exits. (#834)


== Bug Fixes ==
Expand Down

0 comments on commit 80277e3

Please sign in to comment.