diff options
| author | James Booth <boothj5@gmail.com> | 2015-06-22 21:09:14 +0100 |
|---|---|---|
| committer | James Booth <boothj5@gmail.com> | 2015-06-22 21:09:14 +0100 |
| commit | 86acd4649bed31e0de9bbe469ac45184e2cee640 (patch) | |
| tree | 1a71b1cd57d1693aead85a4b50b09efe21f664d6 /src/command | |
| parent | 24ebb51254034feb1a157f9aeef86007b0083181 (diff) | |
| download | profani-tty-86acd4649bed31e0de9bbe469ac45184e2cee640.tar.gz | |
Added PGP prefs
Diffstat (limited to 'src/command')
| -rw-r--r-- | src/command/command.c | 1 | ||||
| -rw-r--r-- | src/command/commands.c | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/command/command.c b/src/command/command.c index 1d99e56a..c43e968e 100644 --- a/src/command/command.c +++ b/src/command/command.c @@ -1299,6 +1299,7 @@ cmd_init(void) autocomplete_add(prefs_ac, "conn"); autocomplete_add(prefs_ac, "presence"); autocomplete_add(prefs_ac, "otr"); + autocomplete_add(prefs_ac, "pgp"); notify_ac = autocomplete_new(); autocomplete_add(notify_ac, "message"); diff --git a/src/command/commands.c b/src/command/commands.c index 38f15a74..f865b873 100644 --- a/src/command/commands.c +++ b/src/command/commands.c @@ -905,6 +905,10 @@ cmd_prefs(ProfWin *window, gchar **args, struct cmd_help_t help) cons_show(""); cons_show_otr_prefs(); cons_show(""); + } else if (strcmp(args[0], "pgp") == 0) { + cons_show(""); + cons_show_pgp_prefs(); + cons_show(""); } else { cons_show("Usage: %s", help.usage); } |