[orca] Don't reset punctuation styles in the switcher script
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Don't reset punctuation styles in the switcher script
- Date: Tue, 5 May 2020 17:51:00 +0000 (UTC)
commit 0301b46310549dfa7738941f62718af78a93e1b4
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Tue May 5 13:47:06 2020 -0400
Don't reset punctuation styles in the switcher script
The switcher script uses presentMessage() to present the newly-selected
item with a minimum amount of extra chattiness. But presentMessage() by
default switches punctuation level to None causing punctuation in file
names to not be spoken. So stop doing that.
src/orca/scripts/switcher/script.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/orca/scripts/switcher/script.py b/src/orca/scripts/switcher/script.py
index b60d87fa0..b19c7cccb 100644
--- a/src/orca/scripts/switcher/script.py
+++ b/src/orca/scripts/switcher/script.py
@@ -73,7 +73,7 @@ class Script(default.Script):
self.presentationInterrupt()
orca_state.activeWindow = self.utilities.topLevelObject(event.source)
orca.setLocusOfFocus(event, event.source, False)
- self.presentMessage(self.utilities.getSelectionName(event.source), force=True)
+ self.presentMessage(self.utilities.getSelectionName(event.source), resetStyles=False, force=True)
return True
def onFocusedChanged(self, event):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]