Mercurial > ~mikael > mcabber > hg
diff mcabber/src/commands.c @ 330:a9013124ede6
Add "/roster alternate"
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sun, 17 Jul 2005 21:17:52 +0100 |
parents | 45076d02eeef |
children | eb994ee40029 |
line wrap: on
line diff
--- a/mcabber/src/commands.c Sun Jul 17 21:16:15 2005 +0100 +++ b/mcabber/src/commands.c Sun Jul 17 21:17:52 2005 +0100 @@ -118,6 +118,7 @@ compl_add_category_word(COMPL_ROSTER, "hide_offline"); compl_add_category_word(COMPL_ROSTER, "show_offline"); compl_add_category_word(COMPL_ROSTER, "toggle_offline"); + compl_add_category_word(COMPL_ROSTER, "alternate"); compl_add_category_word(COMPL_ROSTER, "search"); compl_add_category_word(COMPL_ROSTER, "unread_first"); compl_add_category_word(COMPL_ROSTER, "unread_next"); @@ -347,6 +348,8 @@ scr_RosterUnreadMessage(0); } else if (!strcasecmp(arg, "unread_next")) { scr_RosterUnreadMessage(1); + } else if (!strcasecmp(arg, "alternate")) { + scr_RosterJumpAlternate(); } else if (!strncasecmp(arg, "search", 6)) { char *string = arg+6; if (*string && (*string != ' ')) {