Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlovetox <philipp@hoerist.com>2022-06-14 23:37:12 +0300
committerlovetox <philipp@hoerist.com>2022-06-14 23:37:20 +0300
commit50aec5745171d286ed215c8349cfccbe57318899 (patch)
treeb22651c9665f9041f0cd1895fd0a294928a4c426
parente3c87b9a843b3bd557083a1dfbf5ffe8594a1f92 (diff)
chore: Fix codestyle errors
-rw-r--r--gajim/common/dbus/logind.py12
-rw-r--r--gajim/common/dbus/system_style.py2
2 files changed, 7 insertions, 7 deletions
diff --git a/gajim/common/dbus/logind.py b/gajim/common/dbus/logind.py
index 3d4a5bd16..213addb81 100644
--- a/gajim/common/dbus/logind.py
+++ b/gajim/common/dbus/logind.py
@@ -95,7 +95,7 @@ class LogindListener:
'org.gajim.Gajim',
_('Shutting down Gajim'),
'delay' # Inhibitor will delay but not block shutdown
- )),
+ )),
GLib.VariantType.new('(h)'),
Gio.DBusCallFlags.NONE,
-1,
@@ -123,11 +123,11 @@ class LogindListener:
log.info('Released shutdown delay inhibitor')
def _on_logind_appeared(self,
- connection: Gio.DBusConnection,
- name: str,
- name_owner: str,
- *_user_data: Any
- ) -> None:
+ connection: Gio.DBusConnection,
+ name: str,
+ name_owner: str,
+ *_user_data: Any
+ ) -> None:
'''Use signal and locks provided by org.freedesktop.login1'''
log.info('Name %s appeared, owned by %s', name, name_owner)
diff --git a/gajim/common/dbus/system_style.py b/gajim/common/dbus/system_style.py
index 610761706..1489962f9 100644
--- a/gajim/common/dbus/system_style.py
+++ b/gajim/common/dbus/system_style.py
@@ -83,7 +83,7 @@ class SystemStyleListener:
namespace, name, value = parameters
if (namespace == 'org.freedesktop.appearance' and
- name == 'color-scheme'):
+ name == 'color-scheme'):
self._prefer_dark = (value == 1)
self._callback()
app.ged.raise_event(StyleChanged())