commit/StationPlaylist: 3 new changesets

  • From: commits-noreply@xxxxxxxxxxxxx
  • To: nvda-addons-commits@xxxxxxxxxxxxx
  • Date: Mon, 03 Nov 2014 05:46:00 -0000

3 new commits in StationPlaylist:

https://bitbucket.org/nvdaaddonteam/stationplaylist/commits/1ca916798d5b/
Changeset:   1ca916798d5b
Branch:      master
User:        josephsl
Date:        2014-11-03 05:44:26+00:00
Summary:     Merge branch 'spl510'

Affected #:  1 file

diff --git a/addon/appModules/splstudio.py b/addon/appModules/splstudio.py
index 01740ae..8a5e31b 100644
--- a/addon/appModules/splstudio.py
+++ b/addon/appModules/splstudio.py
@@ -24,6 +24,7 @@ import review
 import scriptHandler
 import ui
 import nvwave
+import speech
 import braille
 import gui
 import wx
@@ -63,7 +64,7 @@ class SPL510TrackItem(IAccessible):
 
        def script_select(self, gesture):
                gesture.send()
-               ui.message(self.name)
+               speech.speakMessage(self.name)
 
        __gestures={"kb:space":"select"}
 


https://bitbucket.org/nvdaaddonteam/stationplaylist/commits/efe65771ddfb/
Changeset:   efe65771ddfb
Branch:      legacy
User:        josephsl
Date:        2014-11-03 05:44:42+00:00
Summary:     SPL 5.10 support: when a track is checked, NVDA will speak the new 
state.
As braille presents list item name and description, do not use ui.message, as 
it introduces pointless flash message for a while. What's more important is 
speech, so just speak the checked state of the track, as braille will update 
its display automatically.

Affected #:  1 file

diff --git a/addon/appModules/splstudio.py b/addon/appModules/splstudio.py
index 20c77d5..b44cae8 100644
--- a/addon/appModules/splstudio.py
+++ b/addon/appModules/splstudio.py
@@ -22,6 +22,7 @@ import review
 import scriptHandler
 import ui
 import nvwave
+import speech
 import braille
 import gui
 import wx
@@ -68,7 +69,7 @@ class SPL510TrackItem(IAccessible):
 
        def script_select(self, gesture):
                gesture.send()
-               ui.message(self.name)
+               speech.speakMessage(self.name)
 
        __gestures={"kb:space":"select"}
 


https://bitbucket.org/nvdaaddonteam/stationplaylist/commits/1953d8c5fcc7/
Changeset:   1953d8c5fcc7
Branch:      3.x
User:        josephsl
Date:        2014-11-03 05:45:20+00:00
Summary:     SPL 5.10 support: when a track is checked, NVDA will speak the new 
state.
As braille presents list item name and description, do not use ui.message, as 
it introduces pointless flash message for a while. What's more important is 
speech, so just speak the checked state of the track, as braille will update 
its display automatically.

Affected #:  1 file

diff --git a/addon/appModules/splstudio.py b/addon/appModules/splstudio.py
index d6e9d1f..463dfb6 100644
--- a/addon/appModules/splstudio.py
+++ b/addon/appModules/splstudio.py
@@ -20,6 +20,7 @@ import review
 import scriptHandler
 import ui
 import nvwave
+import speech
 import braille
 import gui
 import wx
@@ -52,7 +53,7 @@ class SPL510TrackItem(IAccessible):
 
        def script_select(self, gesture):
                gesture.send()
-               ui.message(self.name)
+               speech.speakMessage(self.name)
 
        __gestures={"kb:space":"select"}

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: