Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
d639b32d by wurstsalat at 2023-06-02T14:35:54+02:00
fix: OMEMOTrustManager: React correctly to connection changes
Fixes #11547
- - - - -
1 changed file:
- gajim/gtk/omemo_trust_manager.py
Changes:
=====================================
gajim/gtk/omemo_trust_manager.py
=====================================
@@ -154,7 +154,7 @@ def _on_account_state(self,
event: AccountConnected | AccountDisconnected
) -> None:
- if not app.account_is_connected(self._account):
+ if event.account != self._account:
return
if isinstance(event, AccountConnected):
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/d639b32d8b9edc941373d05d26014f8b…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/d639b32d8b9edc941373d05d26014f8b…
You're receiving this email because of your account on dev.gajim.org.
Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
915a9f0f by wurstsalat at 2023-05-30T23:26:53+02:00
fix: Fix interaction of GroupchatRoster and SearchView
Fixes #11546
- - - - -
1 changed file:
- gajim/gtk/chat_page.py
Changes:
=====================================
gajim/gtk/chat_page.py
=====================================
@@ -153,7 +153,16 @@ def _on_chat_selected(self,
self._chat_stack.show_chat(account, jid)
- if self._search_revealer.get_reveal_child():
+ if (not self._search_revealer.get_reveal_child() and
+ self._restore_occupants_list and
+ self._chat_control.contact.is_groupchat):
+ # GroupchatRoster was hidden by Search initially, but Search was
+ # afterwards closed in a 1:1 chat. Only restore GroupchatRoster if
+ # a group chat was selected.
+ app.settings.set('hide_groupchat_occupants_list', False)
+ self._restore_occupants_list = False
+
+ if not app.settings.get('hide_groupchat_occupants_list'):
self._search_view.set_context(account, jid)
self.emit('chat-selected', workspace_id, account, jid)
@@ -342,7 +351,11 @@ def hide_search(self) -> bool:
if self._search_revealer.get_reveal_child():
self._search_revealer.set_reveal_child(False)
- if self._restore_occupants_list:
+ if (self._restore_occupants_list and
+ self._chat_control.contact.is_groupchat):
+ # Restore GroupchatRoster only if a group chat is selected
+ # currently. If this condition isn' satisfied, it is checked
+ # again as soon as a chat is selected in _on_chat_selected.
app.settings.set('hide_groupchat_occupants_list', False)
self._restore_occupants_list = False
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/915a9f0fbe638c994de29318bdc26f86…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/915a9f0fbe638c994de29318bdc26f86…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
238ac329 by Philipp Hörist at 2023-05-29T12:31:45+02:00
cfix: I18n: Install NullTranslation on module init
- - - - -
1 changed file:
- gajim/common/i18n.py
Changes:
=====================================
gajim/common/i18n.py
=====================================
@@ -94,6 +94,8 @@ def __init__(self) -> None:
self.translation = gettext.NullTranslations()
self._default_lang = None
+ self.install()
+
def get_default_lang(self) -> str:
assert self._default_lang is not None
return self._default_lang
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/238ac3299a0c0b9b022df34ff0737ada…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/238ac3299a0c0b9b022df34ff0737ada…
You're receiving this email because of your account on dev.gajim.org.