From 2f879efb73de811f542c804265ff08dc97149dac Mon Sep 17 00:00:00 2001 From: Mohammad Suliman Date: Mon, 12 Jul 2021 15:44:45 +0300 Subject: [PATCH] 2021.1 compatability --- addon/appModules/zoom.py | 4 +++- buildVars.py | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/addon/appModules/zoom.py b/addon/appModules/zoom.py index b6dd675..b05da7c 100644 --- a/addon/appModules/zoom.py +++ b/addon/appModules/zoom.py @@ -306,7 +306,9 @@ def __init__(self, processID, appName): super(AppModule, self).__init__(processID, appName) eventHandler.requestEvents("nameChange",processId=self.processID,windowClassName="zBubbleBaseClass") initConfiguration() - gui.settingsDialogs.NVDASettingsDialog.categoryClasses.append(SettingsPanel) + categoryClasses = gui.settingsDialogs.NVDASettingsDialog.categoryClasses + if not (SettingsPanel in categoryClasses): + categoryClasses.append(SettingsPanel) self.chatHistoryDialog = None self.chatHistoryList = [] self.ricievedChatPrefix = False diff --git a/buildVars.py b/buildVars.py index d3a6492..3a5eb29 100644 --- a/buildVars.py +++ b/buildVars.py @@ -24,7 +24,7 @@ def _(arg): # Translators: Long description to be shown for this add-on on add-on information from add-ons manager "addon_description" : _("""An add-on which aims to enhance the experience while using Zoom and NVDA"""), # version - "addon_version" : "1.1", + "addon_version" : "1.1.1", # Author(s) "addon_author" : u"Mohammad Suliman , Eilana Benish ", # URL for the add-on documentation support @@ -34,7 +34,7 @@ def _(arg): # Minimum NVDA version supported (e.g. "2018.3.0", minor version is optional) "addon_minimumNVDAVersion" : "2018.4", # Last NVDA version supported/tested (e.g. "2018.4.0", ideally more recent than minimum version) - "addon_lastTestedNVDAVersion" : "2020.4", + "addon_lastTestedNVDAVersion" : "2021.1", # Add-on update channel (default is None, denoting stable releases, and for development releases, use "dev"; do not change unless you know what you are doing) "addon_updateChannel" : None, }