2 Commits

Author SHA1 Message Date
Storm Dragon f7e5fd518f More sound support added. 2025-12-29 22:20:02 -05:00
Storm Dragon 99a479567e More sounds added for default. 2025-12-29 22:19:05 -05:00
11 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
# Maintainer: Storm Dragon <storm_dragon@stormux.org> # Maintainer: Storm Dragon <storm_dragon@stormux.org>
pkgname=cthulhu pkgname=cthulhu
pkgver=2025.12.28 pkgver=2025.12.29
pkgrel=1 pkgrel=1
pkgdesc="Desktop-agnostic screen reader with plugin system, forked from Orca" pkgdesc="Desktop-agnostic screen reader with plugin system, forked from Orca"
url="https://git.stormux.org/storm/cthulhu" url="https://git.stormux.org/storm/cthulhu"
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1
View File
@@ -59,6 +59,7 @@ ROLE_SOUND_ALIASES = {
Atspi.Role.TOGGLE_BUTTON: ["toggle_button", "button"], Atspi.Role.TOGGLE_BUTTON: ["toggle_button", "button"],
Atspi.Role.RADIO_BUTTON: ["radio_button", "radio"], Atspi.Role.RADIO_BUTTON: ["radio_button", "radio"],
Atspi.Role.CHECK_BOX: ["checkbox", "check_box"], Atspi.Role.CHECK_BOX: ["checkbox", "check_box"],
Atspi.Role.COMBO_BOX: ["combobox", "combo_box"],
} }
ROLE_STATE_SOUND_BASES = { ROLE_STATE_SOUND_BASES = {
+5 -2
View File
@@ -710,8 +710,8 @@ class SpeechGenerator(generator.Generator):
if not result: if not result:
return result return result
if _settingsManager.getSetting('roleSoundPresentation') \ roleSoundPresentation = _settingsManager.getSetting('roleSoundPresentation')
== settings.ROLE_SOUND_PRESENTATION_SPEECH_ONLY: if roleSoundPresentation == settings.ROLE_SOUND_PRESENTATION_SPEECH_ONLY:
return result return result
if not _settingsManager.getSetting('enableSound'): if not _settingsManager.getSetting('enableSound'):
@@ -721,6 +721,9 @@ class SpeechGenerator(generator.Generator):
if not icon: if not icon:
return result return result
if roleSoundPresentation == settings.ROLE_SOUND_PRESENTATION_SOUND_ONLY:
return [icon]
return [icon] + result return [icon] + result
def _generateCheckedState(self, obj, **args): def _generateCheckedState(self, obj, **args):