commit/StationPlaylist: josephsl: Selective column announcements (6.0-dev): Added a checkbox in SPL settings to toggle this behavior

  • From: commits-noreply@xxxxxxxxxxxxx
  • To: nvda-addons-commits@xxxxxxxxxxxxx
  • Date: Sat, 04 Jul 2015 17:30:11 -0000

1 new commit in StationPlaylist:

https://bitbucket.org/nvdaaddonteam/stationplaylist/commits/4a39a1b9efd8/
Changeset: 4a39a1b9efd8
Branch: 6.0/selectiveColumnAnnouncements
User: josephsl
Date: 2015-07-04 17:29:44+00:00
Summary: Selective column announcements (6.0-dev): Added a checkbox in SPL
settings to toggle this behavior

Affected #: 1 file

diff --git a/addon/appModules/splstudio/splconfig.py
b/addon/appModules/splstudio/splconfig.py
index 2727854..26a0f90 100755
--- a/addon/appModules/splstudio/splconfig.py
+++ b/addon/appModules/splstudio/splconfig.py
@@ -276,6 +276,11 @@ class SPLConfigDialog(gui.SettingsDialog):
self.trackDialCheckbox.SetValue(SPLConfig["TrackDial"])
sizer.Add(self.trackDialCheckbox, border=10,flag=wx.BOTTOM)

+ # Translators: the label for a setting in SPL add-on settings
to toggle custom column announcement.
+
self.columnOrderCheckbox=wx.CheckBox(self,wx.NewId(),label=_("Announce columns
in the &order shown on screen"))
+
self.columnOrderCheckbox.SetValue(SPLConfig["UseScreenColumnOrder"])
+ sizer.Add(self.columnOrderCheckbox, border=10,flag=wx.BOTTOM)
+
# Translators: the label for a setting in SPL add-on settings
to announce scheduled time.

self.scheduledForCheckbox=wx.CheckBox(self,wx.NewId(),label=_("Announce
&scheduled time for the selected track"))
self.scheduledForCheckbox.SetValue(SPLConfig["SayScheduledFor"])
@@ -319,6 +324,7 @@ class SPLConfigDialog(gui.SettingsDialog):
SPLConfig["MicAlarm"] = self.micAlarm.Value
SPLConfig["LibraryScanAnnounce"] =
self.libScanValues[self.libScanList.GetSelection()][0]
SPLConfig["TrackDial"] = self.trackDialCheckbox.Value
+ SPLConfig["UseScreenColumnOrder"] =
self.columnOrderCheckbox.Value
SPLConfig["SayScheduledFor"] = self.scheduledForCheckbox.Value
SPLConfig["SayListenerCount"] = self.listenerCountCheckbox.Value
SPLConfig["SayPlayingCartName"] = self.cartNameCheckbox.Value

Repository URL: https://bitbucket.org/nvdaaddonteam/stationplaylist/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.

Other related posts:

  • » commit/StationPlaylist: josephsl: Selective column announcements (6.0-dev): Added a checkbox in SPL settings to toggle this behavior - commits-noreply