From 9e2d9cae17dc36180620ac672ec04564ca64f93f Mon Sep 17 00:00:00 2001 From: Dmitry Kann Date: Tue, 8 Jun 2021 18:44:48 +0200 Subject: [PATCH] chore: typos --- lib/indicator_sound_switcher/config.py | 2 +- lib/indicator_sound_switcher/indicator.py | 2 +- lib/indicator_sound_switcher/port.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/indicator_sound_switcher/config.py b/lib/indicator_sound_switcher/config.py index 8a63d6c..5efdf27 100644 --- a/lib/indicator_sound_switcher/config.py +++ b/lib/indicator_sound_switcher/config.py @@ -159,7 +159,7 @@ def bind_keys(self, config: Config): def shutdown(self): """Remove all keyboard bindings.""" - logging.debug('KeybordManager.shutdown()') + logging.debug('KeyboardManager.shutdown()') for shortcut in self.current_mappings.keys(): Keybinder.unbind(shortcut) logging.debug(' - Unbound keyboard shortcut `%s`', shortcut) diff --git a/lib/indicator_sound_switcher/indicator.py b/lib/indicator_sound_switcher/indicator.py index b8b5474..2e4a959 100644 --- a/lib/indicator_sound_switcher/indicator.py +++ b/lib/indicator_sound_switcher/indicator.py @@ -1122,7 +1122,7 @@ def shutdown(self): def synchronise_op(self, name: str, operation): """Turn an asynchronous PulseAudio operation into a synchronous one by waiting on the operation to complete. - Finally unreference the operation object. + Finally dereference the operation object. :param name: operation name for logging purposes :param operation: PulseAudio operation to execute """ diff --git a/lib/indicator_sound_switcher/port.py b/lib/indicator_sound_switcher/port.py index 1487f8e..ca4c14e 100644 --- a/lib/indicator_sound_switcher/port.py +++ b/lib/indicator_sound_switcher/port.py @@ -42,7 +42,7 @@ def __init__( """Constructor. :param name: (Internal) name of the port :param description: Default 'human friendly' name of the port - :param display_name: Port display name overriden by user. If empty, description is to be used + :param display_name: Port display name overridden by user. If empty, description is to be used :param priority: Port priority as reported by PulseAudio :param is_available: Whether the port is available for the user :param is_visible: Whether the port is visible for the user