commit/StationPlaylist: josephsl: Track tool (4.0-dev/legacy): support for Track Tool 5.10.

  • From: commits-noreply@xxxxxxxxxxxxx
  • To: nvda-addons-commits@xxxxxxxxxxxxx
  • Date: Mon, 03 Nov 2014 21:36:54 -0000

1 new commit in StationPlaylist:

https://bitbucket.org/nvdaaddonteam/stationplaylist/commits/f29f146edb92/
Changeset:   f29f146edb92
Branch:      None
User:        josephsl
Date:        2014-11-03 21:36:22+00:00
Summary:     Track tool (4.0-dev/legacy): support for Track Tool 5.10.
Again, window class for the list view has changed for track tool as well, so 
check this as well.

Affected #:  1 file

diff --git a/addon/appModules/tracktool.py b/addon/appModules/tracktool.py
index c380531..c82a80f 100755
--- a/addon/appModules/tracktool.py
+++ b/addon/appModules/tracktool.py
@@ -18,7 +18,7 @@ addonHandler.initTranslation()
 class AppModule(appModuleHandler.AppModule):
 
        def event_gainFocus(self, obj, nextHandler):
-               if obj.windowClassName == "TListView" and obj.role == 
ROLE_LISTITEM:
+               if obj.windowClassName in ["TListView", 
"TTntListView.UnicodeClass"] and obj.role == ROLE_LISTITEM:
                        # Play a beep when intro exists.
                        if ", Intro:" in obj.description:
                                tones.beep(550, 100)

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: