diff options
Diffstat (limited to 'src/command/command.c')
-rw-r--r-- | src/command/command.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/command/command.c b/src/command/command.c index e94d3406..984812f5 100644 --- a/src/command/command.c +++ b/src/command/command.c @@ -1253,7 +1253,6 @@ static struct cmd_t command_defs[] = CMD_NOEXAMPLES }, -#ifdef HAVE_GTK { "/tray", cmd_tray, parse_args, 1, 1, &cons_tray_setting, CMD_TAGS( @@ -1266,7 +1265,6 @@ static struct cmd_t command_defs[] = { "on|off", "Enable or disable tray icon." }) CMD_NOEXAMPLES }, -#endif { "/intype", cmd_intype, parse_args, 1, 1, &cons_intype_setting, @@ -3076,9 +3074,9 @@ _cmd_complete_parameters(ProfWin *window, const char *const input) jabber_conn_status_t conn_status = jabber_get_connection_status(); // autocomplete boolean settings - gchar *boolean_choices[] = { "/beep", "/intype", "/states", "/outtype", - "/flash", "/splash", "/chlog", "/grlog", "/history", "/vercheck", - "/privileges", "/presence", "/wrap", "/winstidy", "/carbons", "/encwarn", "/lastactivity" }; + gchar *boolean_choices[] = { "/beep", "/intype", "/states", "/outtype", "/flash", "/splash", "/chlog", "/grlog", + "/history", "/vercheck", "/privileges", "/presence", "/wrap", "/winstidy", "/carbons", "/encwarn", + "/lastactivity", "/tray" }; for (i = 0; i < ARRAY_SIZE(boolean_choices); i++) { result = autocomplete_param_with_func(input, boolean_choices[i], prefs_autocomplete_boolean_choice); |