From 7605e7d60faac51b35833ef4964a74bf95036095 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Wed, 23 Oct 2024 09:37:42 -0400 Subject: [PATCH] Found some stuff I missed on the initial attempt to get this working. --- .../plugins/SimplePluginSystem/SimplePluginSystem.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/cthulhu/plugins/SimplePluginSystem/SimplePluginSystem.py b/src/cthulhu/plugins/SimplePluginSystem/SimplePluginSystem.py index 0fe5c9d..fe03322 100644 --- a/src/cthulhu/plugins/SimplePluginSystem/SimplePluginSystem.py +++ b/src/cthulhu/plugins/SimplePluginSystem/SimplePluginSystem.py @@ -47,17 +47,17 @@ class SimplePluginSystem(GObject.Object, Cthulhu.PluginInterface): # Create key binding based on modifier combinations modifiers = Cthulhu.keybindings.defaultModifierMask if settings['shiftkey'] and not settings['ctrlkey'] and not settings['altkey']: - mask = Cthulhu.keybindings.ORCA_SHIFT_MODIFIER_MASK + mask = Cthulhu.keybindings.CTHULHU_SHIFT_MODIFIER_MASK elif not settings['shiftkey'] and settings['ctrlkey'] and not settings['altkey']: - mask = Cthulhu.keybindings.ORCA_CTRL_MODIFIER_MASK + mask = Cthulhu.keybindings.CTHULHU_CTRL_MODIFIER_MASK elif not settings['shiftkey'] and not settings['ctrlkey'] and settings['altkey']: - mask = Cthulhu.keybindings.ORCA_ALT_MODIFIER_MASK + mask = Cthulhu.keybindings.CTHULHU_ALT_MODIFIER_MASK elif not settings['shiftkey'] and settings['ctrlkey'] and settings['altkey']: - mask = Cthulhu.keybindings.ORCA_CTRL_ALT_MODIFIER_MASK + mask = Cthulhu.keybindings.CTHULHU_CTRL_ALT_MODIFIER_MASK elif settings['shiftkey'] and not settings['ctrlkey'] and settings['altkey']: mask = Cthulhu.keybindings.SHIFT_ALT_MODIFIER_MASK else: - mask = Cthulhu.keybindings.ORCA_MODIFIER_MASK + mask = Cthulhu.keybindings.CTHULHU_MODIFIER_MASK self.my_key_bindings.add( Cthulhu.keybindings.KeyBinding(