commit/focusHighlight: nishimotz: less verbose and more accurate when combobox is expanded and selected item is changed.

  • From: commits-noreply@xxxxxxxxxxxxx
  • To: nvda-addons-commits@xxxxxxxxxxxxx
  • Date: Mon, 01 Jun 2015 13:58:19 -0000

1 new commit in focusHighlight:

https://bitbucket.org/nvdaaddonteam/focushighlight/commits/d25eadb2ae83/
Changeset: d25eadb2ae83
Branch: master
User: nishimotz
Date: 2015-06-01 13:57:53+00:00
Summary: less verbose and more accurate when combobox is expanded and
selected item is changed.

Affected #: 2 files

diff --git a/addon/globalPlugins/focusHighlight.py
b/addon/globalPlugins/focusHighlight.py
index 25e23bc..9434364 100644
--- a/addon/globalPlugins/focusHighlight.py
+++ b/addon/globalPlugins/focusHighlight.py
@@ -1,5 +1,5 @@
# focus highlight
-# 2015-05-31
+# 2015-06-01
# Takuya Nishimoto

import globalPluginHandler
@@ -50,6 +50,7 @@ from ctypes.wintypes import COLORREF
import api
import time
import ui
+import speech

WNDPROC = WINFUNCTYPE(c_long, c_int, c_uint, c_int, c_int)

@@ -439,9 +440,10 @@ class GlobalPlugin(globalPluginHandler.GlobalPlugin):
def event_valueChange(self, obj, nextHandler):
#log.info("valueChange %s" % self.getInfo(obj))
if obj.windowClassName == 'ComboBox' and obj.role ==
oleacc.ROLE_SYSTEM_TOOLTIP:
- updateFocusLocation(obj)
- updateNavigatorLocation()
api.setFocusObject(obj)
+ speech.cancelSpeech()
+ updateFocusLocation()
+ updateNavigatorLocation()
nextHandler()

#def event_nameChange(self, obj, nextHandler):

diff --git a/buildVars.py b/buildVars.py
index 29262e7..826e0fd 100644
--- a/buildVars.py
+++ b/buildVars.py
@@ -19,7 +19,7 @@ addon_info = {
# Translators: Long description to be shown for this add-on on add-on
information from add-ons manager
"addon_description" : _("Highlight the focused location."),
# version
- "addon_version" : "3.0-dev-150531",
+ "addon_version" : "3.0-dev-150601",
# Author(s)
"addon_author" : u"Takuya Nishimoto <nishimotz@xxxxxxxxx>",
# URL for the add-on documentation support

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

--

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/focusHighlight: nishimotz: less verbose and more accurate when combobox is expanded and selected item is changed. - commits-noreply