Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
05830ca1 by wurstsalat at 2023-05-05T21:14:55+02:00
cfix: OMEMOTrustManager: Call correct method for getting group members
- - - - -
ffa20aa0 by wurstsalat at 2023-05-05T21:15:39+02:00
cfix: OMEMOTrustManager: Improve readability for fingerprints
- - - - -
2 changed files:
- gajim/data/gui/omemo_trust_manager.ui
- gajim/gtk/omemo_trust_manager.py
Changes:
=====================================
gajim/data/gui/omemo_trust_manager.ui
=====================================
@@ -154,6 +154,9 @@
<property name="can-focus">False</property>
<property name="label"
translatable="yes">Fingerprint for this Device</property>
<property name="xalign">0</property>
+ <style>
+ <class name="bold"/>
+ </style>
</object>
<packing>
<property name="expand">False</property>
@@ -170,7 +173,6 @@
<style>
<class name="monospace"/>
<class name="small-label"/>
- <class name="dim-label"/>
</style>
</object>
<packing>
=====================================
gajim/gtk/omemo_trust_manager.py
=====================================
@@ -193,7 +193,7 @@ def _on_search_changed(self, _entry: Gtk.SearchEntry) ->
None:
def _load_fingerprints(self, contact: types.ChatContactT) -> None:
if contact.is_groupchat:
- members = list(self._omemo.backend.get_muc_members(
+ members = list(self._omemo.backend.get_group_members(
str(contact.jid)))
sessions = self._omemo.backend.storage.get_sessions_from_jids(
members)
@@ -307,13 +307,13 @@ def __init__(self,
jid_label.set_halign(Gtk.Align.START)
jid_label.set_valign(Gtk.Align.START)
jid_label.set_hexpand(True)
+ jid_label.get_style_context().add_class('bold')
grid.attach(jid_label, 2, 1, 1, 1)
self.fingerprint = Gtk.Label(
label=self._identity_key.get_fingerprint(formatted=True))
self.fingerprint.get_style_context().add_class('monospace')
self.fingerprint.get_style_context().add_class('small-label')
- self.fingerprint.get_style_context().add_class('dim-label')
self.fingerprint.set_selectable(True)
self.fingerprint.set_halign(Gtk.Align.START)
self.fingerprint.set_valign(Gtk.Align.START)
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/compare/fc69287162c42bda50604863e6b40d1725f368cc...ffa20aa064c8f7c0c55c9099939fa62310ff0e02
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/compare/fc69287162c42bda50604863e6b40d1725f368cc...ffa20aa064c8f7c0c55c9099939fa62310ff0e02
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