diff options
Diffstat (limited to 'src/ui/console.c')
-rw-r--r-- | src/ui/console.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/ui/console.c b/src/ui/console.c index ac18c7da..6c396376 100644 --- a/src/ui/console.c +++ b/src/ui/console.c @@ -1423,6 +1423,25 @@ cons_show_otr_prefs(void) } void +cons_show_pgp_prefs(void) +{ + cons_show("PGP preferences:"); + cons_show(""); + + char *log_value = prefs_get_string(PREF_PGP_LOG); + if (strcmp(log_value, "on") == 0) { + cons_show("PGP logging (/pgp log) : ON"); + } else if (strcmp(log_value, "off") == 0) { + cons_show("PGP logging (/pgp log) : OFF"); + } else { + cons_show("PGP logging (/pgp log) : Redacted"); + } + prefs_free_string(log_value); + + cons_alert(); +} + +void cons_show_themes(GSList *themes) { cons_show(""); @@ -1458,6 +1477,8 @@ cons_prefs(void) cons_show(""); cons_show_otr_prefs(); cons_show(""); + cons_show_pgp_prefs(); + cons_show(""); cons_alert(); } |