[openpgp] 1.4.8

This commit is contained in:
wurstsalat
2022-10-06 17:15:49 +02:00
parent 7601311c7d
commit 29260fcc6f
5 changed files with 38 additions and 38 deletions

View File

@@ -56,7 +56,7 @@ class KeyDialog(Gtk.Dialog):
self.get_style_context().add_class('openpgp-key-dialog')
self.con = app.connections[account]
self._client = app.get_client(account)
self._listbox = Gtk.ListBox()
self._listbox.set_selection_mode(Gtk.SelectionMode.NONE)
@@ -69,7 +69,8 @@ class KeyDialog(Gtk.Dialog):
box = self.get_content_area()
box.pack_start(self._scrolled, True, True, 0)
keys = self.con.get_module('OpenPGP').get_keys(jid, only_trusted=False)
keys = self._client.get_module('OpenPGP').get_keys(
jid, only_trusted=False)
for key in keys:
log.info('Load: %s', key.fingerprint)
self._listbox.add(KeyRow(key))