commit/StationPlaylist: 2 new changesets

  • From: commits-noreply@xxxxxxxxxxxxx
  • To: nvda-addons-commits@xxxxxxxxxxxxx
  • Date: Wed, 24 Jun 2015 22:42:32 -0000

2 new commits in StationPlaylist:

https://bitbucket.org/nvdaaddonteam/stationplaylist/commits/8e2f5f53475b/
Changeset: 8e2f5f53475b
Branch: None
User: josephsl
Date: 2015-06-24 22:41:32+00:00
Summary: 5.1: Track Dial for Track Tool requires Studio to be running,
otherwise don't use it

Affected #: 1 file

diff --git a/addon/appModules/tracktool.py b/addon/appModules/tracktool.py
index 627cd84..0de2eb7 100755
--- a/addon/appModules/tracktool.py
+++ b/addon/appModules/tracktool.py
@@ -41,6 +41,10 @@ class TrackToolItem(IAccessible):
# Add-on 5.1: Track Dial for Track Tool.

def script_toggleTrackDial(self, gesture):
+ if splconfig.SPLConfig is None:
+ # Translators: Presented when only Track Tool is
running (Track Dial requires Studio to be running as well).
+ ui.message(_("Only Track Tool is running, Track Dial is
unavailable"))
+ return
if not self.appModule.TTDial:
self.appModule.TTDial = True
self.bindGesture("kb:rightArrow", "nextColumn")


https://bitbucket.org/nvdaaddonteam/stationplaylist/commits/ee2911c48c26/
Changeset: ee2911c48c26
Branch: master
User: josephsl
Date: 2015-06-24 22:42:09+00:00
Summary: Merge branch '5.x'

Affected #: 1 file

diff --git a/addon/appModules/tracktool.py b/addon/appModules/tracktool.py
index 627cd84..0de2eb7 100755
--- a/addon/appModules/tracktool.py
+++ b/addon/appModules/tracktool.py
@@ -41,6 +41,10 @@ class TrackToolItem(IAccessible):
# Add-on 5.1: Track Dial for Track Tool.

def script_toggleTrackDial(self, gesture):
+ if splconfig.SPLConfig is None:
+ # Translators: Presented when only Track Tool is
running (Track Dial requires Studio to be running as well).
+ ui.message(_("Only Track Tool is running, Track Dial is
unavailable"))
+ return
if not self.appModule.TTDial:
self.appModule.TTDial = True
self.bindGesture("kb:rightArrow", "nextColumn")

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: