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


Commits:
009d9a30 by wurstsalat at 2024-12-23T23:27:45+01:00
cq: OMEMOTrustManager: Use correct logger

- - - - -
cc1d3e9a by wurstsalat at 2024-12-23T23:27:45+01:00
cq: GroupChatInfoScrolled: Improve type annotation

- - - - -


2 changed files:

- gajim/gtk/groupchat_info.py
- gajim/gtk/omemo_trust_manager.py


Changes:

=====================================
gajim/gtk/groupchat_info.py
=====================================
@@ -297,7 +297,7 @@ def _add_features(self, features: list[str]) -> None:
         for feature in MUC_FEATURES:
             if feature in features:
                 icon, name, tooltip = MUC_FEATURES.get(feature, (None, None, 
None))
-                if icon is None:
+                if icon is None or name is None or tooltip is None:
                     continue
                 grid.attach(self._get_feature_icon(icon, tooltip), 0, row, 1, 
1)
                 grid.attach(self._get_feature_label(name), 1, row, 1, 1)


=====================================
gajim/gtk/omemo_trust_manager.py
=====================================
@@ -37,7 +37,7 @@
 from .util import open_window
 from .util import SignalManager
 
-log = logging.getLogger("gajim.gui.omemo_trust_dialog")
+log = logging.getLogger("gajim.gtk.omemo_trust_manager")
 
 
 TRUST_DATA = {



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/compare/6604df1fc8ed36857f3f22cef28c28e56c73500c...cc1d3e9a05434b4e37aafd14c84a9ec8a4379eda

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/compare/6604df1fc8ed36857f3f22cef28c28e56c73500c...cc1d3e9a05434b4e37aafd14c84a9ec8a4379eda
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to