Philipp Hörist pushed to branch master at gajim / gajim
Commits:
c537685e by lovetox at 2022-03-13T09:03:59+01:00
ContactInfo: Simplify subscribed check
- - - - -
1 changed file:
- gajim/gtk/contact_info.py
Changes:
=====================================
gajim/gtk/contact_info.py
=====================================
@@ -199,8 +199,7 @@ def _fill_settings_page(self, contact: BareContact) -> None:
if not contact.is_in_roster:
return
- if contact.subscription in ('from', 'both'):
- self._ui.from_subscription_switch.set_state(True)
+ self._ui.from_subscription_switch.set_state(contact.is_subscribed)
if contact.subscription in ('to', 'both'):
self._ui.to_subscription_stack.set_visible_child_name('checkmark')
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/c537685ee92fc33898bb08a4e9073def…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/c537685ee92fc33898bb08a4e9073def…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / python-nbxmpp
Commits:
d6974b2e by lovetox at 2022-03-12T20:06:35+01:00
TCP: Set read priority to low
PRIORITY_DEFAULT is used for example for X Server events or other UI
tasks. This should help to prefer UI events before network events.
- - - - -
1 changed file:
- nbxmpp/tcp.py
Changes:
=====================================
nbxmpp/tcp.py
=====================================
@@ -188,7 +188,7 @@ class TCPConnection(Connection):
self._con.get_input_stream().read_bytes_async(
READ_BUFFER_SIZE,
- GLib.PRIORITY_DEFAULT,
+ GLib.PRIORITY_LOW,
self._read_cancellable,
self._on_read_async_finish,
None)
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/-/commit/d6974b2ef1b716be17f56db3…
--
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/-/commit/d6974b2ef1b716be17f56db3…
You're receiving this email because of your account on dev.gajim.org.