Getting closer to working bindings.
This commit is contained in:
parent
39dca0574a
commit
c376b2489a
@ -103,17 +103,17 @@ class APIHelper:
|
||||
# Store binding for later reference
|
||||
if contextName not in self._gestureBindings:
|
||||
self._gestureBindings[contextName] = []
|
||||
self._gestureBindings[contextName].append(binding)
|
||||
self._gestureBindings[contextName].append(binding) # This line should be outside the if block
|
||||
|
||||
# Register key grab at the system level
|
||||
grab_ids = self.app.addKeyGrab(binding)
|
||||
# Register key grab at the system level
|
||||
grab_ids = self.app.addKeyGrab(binding)
|
||||
|
||||
# For later removal
|
||||
if grab_ids:
|
||||
binding._grab_ids = grab_ids
|
||||
# For later removal
|
||||
if grab_ids:
|
||||
binding._grab_ids = grab_ids
|
||||
|
||||
logger.info(f"Created binding: {binding.keysymstring} with modifiers {binding.modifiers}")
|
||||
return binding
|
||||
logger.info(f"Created binding: {binding.keysymstring} with modifiers {binding.modifiers}")
|
||||
return binding
|
||||
|
||||
return None
|
||||
|
||||
|
@ -23,5 +23,5 @@
|
||||
# Fork of Orca Screen Reader (GNOME)
|
||||
# Original source: https://gitlab.gnome.org/GNOME/orca
|
||||
|
||||
version = "2025.04.19"
|
||||
version = "2025.04.20"
|
||||
codeName = "plugins"
|
||||
|
Loading…
x
Reference in New Issue
Block a user