aboutsummaryrefslogtreecommitdiff
path: root/plugins/openpgp/src
diff options
context:
space:
mode:
authorfiaxh <git@mx.ax.lt>2017-04-08 11:53:10 +0200
committerfiaxh <git@mx.ax.lt>2017-04-10 15:47:17 +0200
commitd8881c4b16a1cd376dd69304c44444aee581da32 (patch)
tree2c290ce70c941c30211f7fc091d4907c60ee776d /plugins/openpgp/src
parentd6e742eb611f28fc2fcfbb67d4246f862df5c1c9 (diff)
downloaddino-d8881c4b16a1cd376dd69304c44444aee581da32.tar.gz
dino-d8881c4b16a1cd376dd69304c44444aee581da32.zip
Show account status (incl errors) in ManageAccounts.Dialog
Diffstat (limited to 'plugins/openpgp/src')
-rw-r--r--plugins/openpgp/src/account_settings_widget.vala4
1 files changed, 2 insertions, 2 deletions
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))\n<span font_family='monospace' font='8'>0x$(Markup.escape_text(keys[i].fpr[0:16]))</span>");
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<void*> (null, () => { // Querying GnuPG might take some while
+ new Thread<void*> (null, () => { // Querying GnuPG might take some time
try {
keys = GPGHelper.get_keylist(null, true);
Idle.add(() => {