Skip to content

Commit 2703181

Browse files
committed
fix compatibility for nvda 2018.3
update NVDA compatibility versions, now compatible from 2018.3 to 2019.3
1 parent 1ec0128 commit 2703181

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

addon/globalPlugins/synthRingSettingsSelector.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class GlobalPlugin(globalPluginHandler.GlobalPlugin):
6868
def __init__(self):
6969
global SETTINGS_AVAILABLE, SETTINGS_ID
7070
super(globalPluginHandler.GlobalPlugin, self).__init__()
71-
if int(buildVersion.formatBuildVersionString()[:6].replace(".", "")) < 20192:
71+
if buildVersion.version_year*10 +buildVersion.version_major < 20192:
7272
SETTINGS_ID = 'name'
7373
SETTINGS_AVAILABLE = 'availableInSynthSettingsRing'
7474
self.handleConfigProfileSwitch()

buildVars.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@
1919
# Translators: Long description to be shown for this add-on on add-on information from add-ons manager
2020
"addon_description" : _("""This add-on allows the user to select which settings should appear on the synth settings ring."""),
2121
# version
22-
"addon_version" : "0.4b",
22+
"addon_version" : "0.5",
2323
# Author(s)
2424
"addon_author" : u"David CM <dhf360@gmail.com>",
2525
# URL for the add-on documentation support
2626
"addon_url" : "https://github.com/david-acm/NVDA-synthRingSettingsSelector",
2727
# Documentation file name
2828
"addon_docFileName" : "readme.html",
2929
# Minimum NVDA version supported (e.g. "2018.3.0")
30-
"addon_minimumNVDAVersion" : "2018.2.0",
30+
"addon_minimumNVDAVersion" : "2018.3.0",
3131
# Last NVDA version supported/tested (e.g. "2018.4.0", ideally more recent than minimum version)
3232
"addon_lastTestedNVDAVersion" : "2019.3.0",
3333
# Add-on update channel (default is stable or None)

0 commit comments

Comments
 (0)