From d8881c4b16a1cd376dd69304c44444aee581da32 Mon Sep 17 00:00:00 2001 From: fiaxh Date: Sat, 8 Apr 2017 11:53:10 +0200 Subject: Show account status (incl errors) in ManageAccounts.Dialog --- plugins/openpgp/src/account_settings_widget.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/openpgp') diff --git a/plugins/openpgp/src/account_settings_widget.vala b/plugins/openpgp/src/account_settings_widget.vala index 5eb0ba16..026d7d3c 100644 --- a/plugins/openpgp/src/account_settings_widget.vala +++ b/plugins/openpgp/src/account_settings_widget.vala @@ -80,7 +80,7 @@ private class AccountSettingsWidget : Stack, Plugins.AccountSettingsWidget { list_store.set(iter, 0, build_markup_string("Key publishing disabled", "Select key"), 1, ""); for (int i = 0; i < keys.size; i++) { list_store.append(out iter); - list_store.set(iter, 0, build_markup_string(keys[i].uids[0].uid, "0x" + keys[i].fpr[0:16])); + list_store.set(iter, 0, @"$(Markup.escape_text(keys[i].uids[0].uid))\n0x$(Markup.escape_text(keys[i].fpr[0:16]))"); list_store.set(iter, 1, keys[i].fpr); if (keys[i].fpr == plugin.db.get_account_key(current_account)) { set_label_active(iter, i + 1); @@ -95,7 +95,7 @@ private class AccountSettingsWidget : Stack, Plugins.AccountSettingsWidget { list_store.clear(); list_store.append(out iter); label.set_markup(build_markup_string("Loading...", "Querying GnuPG")); - new Thread (null, () => { // Querying GnuPG might take some while + new Thread (null, () => { // Querying GnuPG might take some time try { keys = GPGHelper.get_keylist(null, true); Idle.add(() => { -- cgit v1.2.3-70-g09d2