diff mcabber/src/commands.c @ 1086:5e2e647e781b

Add command /roster group_prev|group_next and update documentation
author Mikael Berthe <mikael@lilotux.net>
date Wed, 06 Dec 2006 22:14:41 +0100
parents b2fc694a8228
children 2bef748356de
line wrap: on
line diff
--- a/mcabber/src/commands.c	Tue Dec 05 22:41:33 2006 +0100
+++ b/mcabber/src/commands.c	Wed Dec 06 22:14:41 2006 +0100
@@ -147,6 +147,8 @@
   compl_add_category_word(COMPL_ROSTER, "top");
   compl_add_category_word(COMPL_ROSTER, "up");
   compl_add_category_word(COMPL_ROSTER, "down");
+  compl_add_category_word(COMPL_ROSTER, "group_prev");
+  compl_add_category_word(COMPL_ROSTER, "group_next");
   compl_add_category_word(COMPL_ROSTER, "hide");
   compl_add_category_word(COMPL_ROSTER, "show");
   compl_add_category_word(COMPL_ROSTER, "toggle");
@@ -656,6 +658,10 @@
     scr_RosterUp();
   } else if (!strcasecmp(subcmd, "down")) {
     scr_RosterDown();
+  } else if (!strcasecmp(subcmd, "group_prev")) {
+    scr_RosterPrevGroup();
+  } else if (!strcasecmp(subcmd, "group_next")) {
+    scr_RosterNextGroup();
   } else if (!strcasecmp(subcmd, "note")) {
     roster_note(arg);
   } else