@@ 70,6 70,15 @@ class KeyringWindow:
widget.remove(child)
def load_keys(self):
+
+ titles = {
+ 'ssh': 'SSH',
+ 'imap': 'IMAP',
+ 'smtp': 'SMTP',
+ 'xmpp': 'XMPP',
+ 'irc': 'IRC',
+ }
+
keys = self.himitsu.query()
self.empty(self.keylist)
@@ 84,7 93,11 @@ class KeyringWindow:
for group in grouped:
if group is None:
continue
- self._make_group(group.title(), grouped[group])
+ if group in titles:
+ label = titles[group]
+ else:
+ label = group.title()
+ self._make_group(label, grouped[group])
if None in grouped:
self._make_group("Unsorted", grouped[None])