Bug fixes from ports lol.

This commit is contained in:
Storm Dragon
2026-01-06 18:15:29 -05:00
parent 17c9eee4a1
commit 7aaa94fd4f
5 changed files with 4 additions and 6 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.31 pkgver=2026.01.06
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"
+1 -1
View File
@@ -1,5 +1,5 @@
project('cthulhu', project('cthulhu',
version: '2025.12.31-testing', version: '2026.01.06-testing',
meson_version: '>= 1.0.0', meson_version: '>= 1.0.0',
) )
+1 -1
View File
@@ -23,5 +23,5 @@
# Forked from Orca screen reader. # Forked from Orca screen reader.
# Cthulhu project: https://git.stormux.org/storm/cthulhu # Cthulhu project: https://git.stormux.org/storm/cthulhu
version = "2025.12.31" version = "2026.01.06"
codeName = "testing" codeName = "testing"
-2
View File
@@ -1342,8 +1342,6 @@ class Generator:
if self._script.utilities.isLandmarkRegion(obj): if self._script.utilities.isLandmarkRegion(obj):
return 'ROLE_REGION' return 'ROLE_REGION'
return Atspi.Role.LANDMARK return Atspi.Role.LANDMARK
if self._script.utilities.isFocusableLabel(obj):
return Atspi.Role.LIST_ITEM
if self._script.utilities.isDocument(obj) and AXObject.supports_image(obj): if self._script.utilities.isDocument(obj) and AXObject.supports_image(obj):
return Atspi.Role.IMAGE return Atspi.Role.IMAGE
+1 -1
View File
@@ -1457,7 +1457,7 @@ class SpeechGenerator(generator.Generator):
string = result[0].strip() string = result[0].strip()
if len(string) == 1 and self._script.utilities.isMath(obj): if len(string) == 1 and self._script.utilities.isMath(obj):
charname = chnames.getCharacterName(string, preferMath=True) charname = chnames.getCharacterName(string, preferMath=True)
if charname != string: if charname and charname != string:
result[0] = charname result[0] = charname
result.extend(self.voice(DEFAULT, obj=obj, **args)) result.extend(self.voice(DEFAULT, obj=obj, **args))