Added PGP prefs

This commit is contained in:
James Booth
2015-06-22 21:09:14 +01:00
parent 24ebb51254
commit 86acd4649b
5 changed files with 28 additions and 0 deletions

View File

@@ -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");

View File

@@ -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);
}