Skip to content

Commit

Permalink
Fix missing import
Browse files Browse the repository at this point in the history
  • Loading branch information
AAClause committed May 12, 2024
1 parent dbe41ff commit 760c387
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions addon/globalPlugins/brailleExtender/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
# See the file LICENSE for more details.
# Copyright (C) 2016-2023 André-Abush Clause <[email protected]>

import os
import subprocess
import time
from collections import OrderedDict
Expand Down
6 changes: 3 additions & 3 deletions addon/globalPlugins/brailleExtender/objectpresentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -486,9 +486,9 @@ def makeSettings(self, settingsSizer):
choices=[_("like speech"), _("enabled"), _("disabled")]
)
self.background.SetSelection(config.conf["brailleExtender"]["objectPresentation"]["reportBackgroundProgressBars"])



bHelper = gui.guiHelper.ButtonHelper(orientation=wx.HORIZONTAL)
self.orderPropertiesBtn = bHelper.addButton(
self, label="&Order Properties..."
Expand Down
2 changes: 1 addition & 1 deletion addon/globalPlugins/brailleExtender/patches.py
Original file line number Diff line number Diff line change
Expand Up @@ -1171,7 +1171,7 @@ def getTetherWithRoleTerminal(self):
if obj:
role = api.getNavigatorObject().role
if (
config.conf["brailleExtender"]["reviewModeTerminal"]
config.conf["brailleExtender"]["reviewModeTerminal"]
and role == controlTypes.ROLE_TERMINAL
):
return braille.handler.TETHER_REVIEW
Expand Down
2 changes: 1 addition & 1 deletion addon/globalPlugins/brailleExtender/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ def is_speechMode_talk() -> bool:
speechMode = get_speech_mode()
if hasattr(speech, "SpeechMode"):
return speechMode == speech.SpeechMode.talk
return speechMode == speech.speechMode_talk
return speechMode == speech.speechMode_talk


def set_speech_off():
Expand Down

0 comments on commit 760c387

Please sign in to comment.