From b16bdca726970a721301c88b588dd7263a8655e3 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Thu, 5 May 2022 23:48:43 +0200 Subject: ox: show ox preferences --- src/command/cmd_ac.c | 1 + src/command/cmd_funcs.c | 4 ++++ 2 files changed, 5 insertions(+) (limited to 'src/command') diff --git a/src/command/cmd_ac.c b/src/command/cmd_ac.c index 508c6f21..99072d8d 100644 --- a/src/command/cmd_ac.c +++ b/src/command/cmd_ac.c @@ -317,6 +317,7 @@ cmd_ac_init(void) #endif #ifdef HAVE_LIBGPGME autocomplete_add(prefs_ac, "pgp"); + autocomplete_add(prefs_ac, "ox"); #endif #ifdef HAVE_OMEMO autocomplete_add(prefs_ac, "omemo"); diff --git a/src/command/cmd_funcs.c b/src/command/cmd_funcs.c index 9d6441b1..f5f2bc90 100644 --- a/src/command/cmd_funcs.c +++ b/src/command/cmd_funcs.c @@ -1743,6 +1743,10 @@ cmd_prefs(ProfWin* window, const char* const command, gchar** args) cons_show(""); cons_show_omemo_prefs(); cons_show(""); + } else if (strcmp(args[0], "ox") == 0) { + cons_show(""); + cons_show_ox_prefs(); + cons_show(""); } else { cons_bad_cmd_usage(command); } -- cgit