From 9465e8f109a80b551abcdb9950e7c578b3df4821 Mon Sep 17 00:00:00 2001 From: ruifontes Date: Sun, 3 Sep 2023 13:18:39 +0100 Subject: [PATCH] Version 2023.09.03 Yet another occurrence of same bug corrected! --- 2023.9.2.json | 29 -------------------- 2023.9.1.json => 2023.9.3.json | 6 ++-- addon/GlobalPlugins/frequentText/__init__.py | 6 ++-- addon/doc/de/readme.md | 2 +- addon/doc/es/readme.md | 2 +- addon/doc/pt_BR/readme.md | 2 +- addon/doc/pt_PT/readme.md | 2 +- addon/doc/tr/readme.md | 2 +- buildVars.py | 2 +- readme.md | 2 +- 10 files changed, 14 insertions(+), 41 deletions(-) delete mode 100644 2023.9.2.json rename 2023.9.1.json => 2023.9.3.json (83%) diff --git a/2023.9.2.json b/2023.9.2.json deleted file mode 100644 index 07e1555..0000000 --- a/2023.9.2.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "addonId": "frequentText", - "displayName": "Regists blocks of text frequently used", - "URL": "", - "description": "Stores and make possible the entry of frequently used blocks of text. Command: Windows+F12.", - "sha256": "99ea1c186f9eb44e1b47964b2ba75a32272cd2ad9faa5ed386b8545ca53e91e6", - "homepage": "https://github.com/ruifontes/frequentText", - "addonVersionName": "2023.09.02", - "addonVersionNumber": { - "major": 2023, - "minor": 9, - "patch": 2 - }, - "minNVDAVersion": { - "major": 2021, - "minor": 1, - "patch": 0 - }, - "lastTestedVersion": { - "major": 2023, - "minor": 1, - "patch": 0 - }, - "channel": "stable", - "publisher": "", - "sourceURL": "https://github.com/ruifontes/frequentText", - "license": "GPL 2", - "licenseURL": "https://www.gnu.org/licenses/old-licenses/gpl-2.0.html" -} \ No newline at end of file diff --git a/2023.9.1.json b/2023.9.3.json similarity index 83% rename from 2023.9.1.json rename to 2023.9.3.json index 819b007..4c974e8 100644 --- a/2023.9.1.json +++ b/2023.9.3.json @@ -3,13 +3,13 @@ "displayName": "Regists blocks of text frequently used", "URL": "", "description": "Stores and make possible the entry of frequently used blocks of text. Command: Windows+F12.", - "sha256": "538cc18967b7abd03a79347c3846a112cd1d2315368ed40163c3194c96e1ce7e", + "sha256": "912f676c2aa012af0db797dd8f4d43832b2eb581e45a8e649d8c181262492ac0", "homepage": "https://github.com/ruifontes/frequentText", - "addonVersionName": "2023.09.01", + "addonVersionName": "2023.09.03", "addonVersionNumber": { "major": 2023, "minor": 9, - "patch": 1 + "patch": 3 }, "minNVDAVersion": { "major": 2021, diff --git a/addon/GlobalPlugins/frequentText/__init__.py b/addon/GlobalPlugins/frequentText/__init__.py index 10351bc..712c69d 100644 --- a/addon/GlobalPlugins/frequentText/__init__.py +++ b/addon/GlobalPlugins/frequentText/__init__.py @@ -181,8 +181,10 @@ def onShow(self, evt): self.Close() global category category = catgIDX - gui.mainFrame.popupSettingsDialog(FrequentTextDialog) - #return + try: + gui.mainFrame.popupSettingsDialog(FrequentTextDialog) + except AttributeError: + gui.mainFrame._popupSettingsDialog(FrequentTextDialog) def onAdd (self, evt): # Add a new category diff --git a/addon/doc/de/readme.md b/addon/doc/de/readme.md index fd19f1b..b45b51b 100644 --- a/addon/doc/de/readme.md +++ b/addon/doc/de/readme.md @@ -32,4 +32,4 @@ Um den Textblock in ein Bearbeitungsfeld einzufügen, wählen Sie einfach den Bl Im Add-on-Dialogfeld können Sie auch umbenennen, den Inhalt ändern, zu einer anderen Kategorie wechseln, den Textblock löschen oder zum Kategoriendialog zurückkehren. -[1]: https://github.com/ruifontes/frequentText/releases/download/2023.09.02/frequentText-2023.09.02.nvda-addon +[1]: https://github.com/ruifontes/frequentText/releases/download/2023.09.03/frequentText-2023.09.03.nvda-addon diff --git a/addon/doc/es/readme.md b/addon/doc/es/readme.md index b6e25d8..15b736b 100644 --- a/addon/doc/es/readme.md +++ b/addon/doc/es/readme.md @@ -31,4 +31,4 @@ Para pegar el bloque de texto en un campo de edición, simplemente seleccione el En las opciones del complemento también puede cambiar el nombre, cambiar el contenido, pasar a otra categoría, eliminar el bloque de texto o volver al diálogo de categorías. -[1]: https://github.com/ruifontes/frequentText/releases/download/2023.09.02/frequentText-2023.09.02.nvda-addon +[1]: https://github.com/ruifontes/frequentText/releases/download/2023.09.03/frequentText-2023.09.03.nvda-addon diff --git a/addon/doc/pt_BR/readme.md b/addon/doc/pt_BR/readme.md index da10739..bcce405 100644 --- a/addon/doc/pt_BR/readme.md +++ b/addon/doc/pt_BR/readme.md @@ -32,4 +32,4 @@ Para colar o bloco de texto num campo de edição, seleccione o bloco e pression Na caixa de diálogo da lista de blocos também pode renomear, alterar o conteúdo, mudar de categoria, eliminar um bloco de texto, ou voltar para a caixa de diálogo das categorias. -[1]: https://github.com/ruifontes/frequentText/releases/download/2023.09.02/frequentText-2023.09.02.nvda-addon +[1]: https://github.com/ruifontes/frequentText/releases/download/2023.09.03/frequentText-2023.09.03.nvda-addon diff --git a/addon/doc/pt_PT/readme.md b/addon/doc/pt_PT/readme.md index a4a02d0..dce4a24 100644 --- a/addon/doc/pt_PT/readme.md +++ b/addon/doc/pt_PT/readme.md @@ -32,4 +32,4 @@ Para colar o bloco de texto num campo de edição, seleccione o bloco e pression Na caixa de diálogo da lista de blocos também pode renomear, alterar o conteúdo, mudar de categoria ou eliminar um bloco de texto, ou voltar para a caixa de diálogo das categorias. -[1]: https://github.com/ruifontes/frequentText/releases/download/2023.09.02/frequentText-2023.09.02.nvda-addon +[1]: https://github.com/ruifontes/frequentText/releases/download/2023.09.03/frequentText-2023.09.03.nvda-addon diff --git a/addon/doc/tr/readme.md b/addon/doc/tr/readme.md index a5757cb..f9e831d 100644 --- a/addon/doc/tr/readme.md +++ b/addon/doc/tr/readme.md @@ -32,4 +32,4 @@ Metin bloğunu bir düzenleme alanına yapıştırmak için bloğu seçin ve Ent Eklenti iletişim kutusunda ayrıca yeniden adlandırabilir, içeriği değiştirebilir, başka bir kategoriye geçebilir, metin bloğunu silebilir veya kategoriler iletişim kutusuna geri dönebilirsiniz. -[1]: https://github.com/ruifontes/frequentText/releases/download/2023.09.02/frequentText-2023.09.02.nvda-addon +[1]: https://github.com/ruifontes/frequentText/releases/download/2023.09.03/frequentText-2023.09.03.nvda-addon diff --git a/buildVars.py b/buildVars.py index 50940e5..eb15eab 100644 --- a/buildVars.py +++ b/buildVars.py @@ -25,7 +25,7 @@ def _(arg): # Translators: Long description to be shown for this add-on on add-on information from add-ons manager "addon_description": _("""Stores and make possible the entry of frequently used blocks of text. Command: Windows+F12."""), # version - "addon_version": "2023.09.02", + "addon_version": "2023.09.03", # Author(s) "addon_author": _("Rui Fontes , Ângelo Abrantes and Abel Passos Júnior"), # URL for the add-on documentation support diff --git a/readme.md b/readme.md index 3697f4a..7e23048 100644 --- a/readme.md +++ b/readme.md @@ -32,4 +32,4 @@ To paste the block of text in an edit field, just select the block and press Ent In the add-on dialog box you also can rename, change the contents, move to other category, delete the block of text or go back to categories dialog. -[1]: https://github.com/ruifontes/frequentText/releases/download/2023.09.02/frequentText-2023.09.02.nvda-addon +[1]: https://github.com/ruifontes/frequentText/releases/download/2023.09.03/frequentText-2023.09.03.nvda-addon