Philipp Hörist pushed to branch master at gajim / gajim
Commits:
3 changed files:
Changes:
| ... | ... | @@ -95,7 +95,7 @@ def _obtain_delay_inhibitor(self, connection: Gio.DBusConnection) -> None: |
| 95 | 95 | 'org.gajim.Gajim',
|
| 96 | 96 | _('Shutting down Gajim'),
|
| 97 | 97 | 'delay' # Inhibitor will delay but not block shutdown
|
| 98 | - )),
|
|
| 98 | + )),
|
|
| 99 | 99 | GLib.VariantType.new('(h)'),
|
| 100 | 100 | Gio.DBusCallFlags.NONE,
|
| 101 | 101 | -1,
|
| ... | ... | @@ -123,11 +123,11 @@ def release_delay_inhibitor(self) -> None: |
| 123 | 123 | log.info('Released shutdown delay inhibitor')
|
| 124 | 124 | |
| 125 | 125 | def _on_logind_appeared(self,
|
| 126 | - connection: Gio.DBusConnection,
|
|
| 127 | - name: str,
|
|
| 128 | - name_owner: str,
|
|
| 129 | - *_user_data: Any
|
|
| 130 | - ) -> None:
|
|
| 126 | + connection: Gio.DBusConnection,
|
|
| 127 | + name: str,
|
|
| 128 | + name_owner: str,
|
|
| 129 | + *_user_data: Any
|
|
| 130 | + ) -> None:
|
|
| 131 | 131 | '''Use signal and locks provided by org.freedesktop.login1'''
|
| 132 | 132 | log.info('Name %s appeared, owned by %s', name, name_owner)
|
| 133 | 133 |
| ... | ... | @@ -83,7 +83,7 @@ def _signal_setting_changed(self, |
| 83 | 83 | |
| 84 | 84 | namespace, name, value = parameters
|
| 85 | 85 | if (namespace == 'org.freedesktop.appearance' and
|
| 86 | - name == 'color-scheme'):
|
|
| 86 | + name == 'color-scheme'):
|
|
| 87 | 87 | self._prefer_dark = (value == 1)
|
| 88 | 88 | self._callback()
|
| 89 | 89 | app.ged.raise_event(StyleChanged())
|
| 1 | 1 | [flake8]
|
| 2 | -ignore =
|
|
| 2 | +ignore = W504
|
|
| 3 | 3 | exclude =
|
| 4 | 4 | __pycache__,
|
| 5 | 5 | build,
|