Philipp Hörist pushed to branch unify-control at gajim / gajim
Commits:
af5ec819 by lovetox at 2022-08-10T22:16:28+02:00
fix: Fix file send action
- - - - -
1 changed file:
- gajim/gui_interface.py
Changes:
=====================================
gajim/gui_interface.py
=====================================
@@ -398,13 +398,14 @@ def start_file_transfer(self,
path: Optional[str] = None,
method: Optional[str] = None
) -> None:
+
if method is None:
method = self._get_pref_ft_method(contact)
if method is None:
return
control = app.window.get_control()
- if control.has_active_chat():
+ if not control.has_active_chat():
return
if path is None:
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/af5ec8193b8589750134fe139e56f07c…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/af5ec8193b8589750134fe139e56f07c…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch unify-control at gajim / gajim
Commits:
c0efd984 by lovetox at 2022-08-09T20:44:26+02:00
fix: Pass control for GUI extension point
- - - - -
1 changed file:
- gajim/gtk/message_actions_box.py
Changes:
=====================================
gajim/gtk/message_actions_box.py
=====================================
@@ -335,7 +335,9 @@ def _set_encryption_details(self, state: str) -> None:
if state:
app.plugin_manager.extension_point(
- f'encryption_state{state}', self, encryption_state)
+ f'encryption_state{state}',
+ app.window.get_control(),
+ encryption_state)
visible, enc_type, authenticated = encryption_state.values()
assert isinstance(visible, bool)
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/c0efd98453ff5349cdf090a95b114641…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/c0efd98453ff5349cdf090a95b114641…
You're receiving this email because of your account on dev.gajim.org.