Daniel Brötzmann pushed to branch master at gajim / gajim


Commits:
9fe3d46b by wurstsalat at 2022-03-14T23:09:16+01:00
GroupchatControl: Disable invite and details if we are not joined

- - - - -


1 changed file:

- gajim/gtk/controls/groupchat.py


Changes:

=====================================
gajim/gtk/controls/groupchat.py
=====================================
@@ -328,12 +328,16 @@ def update_actions(self, *args: Any) -> None:
 
         self._get_action('contact-information-').set_enabled(joined)
 
+        self._get_action('groupchat-details-').set_enabled(joined)
+
         self._get_action('execute-command-').set_enabled(joined)
 
         self._get_action('ban-').set_enabled(joined)
 
         self._get_action('kick-').set_enabled(joined)
 
+        self._get_action('invite-').set_enabled(joined)
+
     def remove_actions(self) -> None:
         super().remove_actions()
         actions = [



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/9fe3d46bf5b8a8f6eb4d5405205afd0bd60ca616

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/9fe3d46bf5b8a8f6eb4d5405205afd0bd60ca616
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to