Mercurial > ~mikael > mcabber > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
1085:122114b00541 | 1086:5e2e647e781b |
---|---|
145 // Roster category | 145 // Roster category |
146 compl_add_category_word(COMPL_ROSTER, "bottom"); | 146 compl_add_category_word(COMPL_ROSTER, "bottom"); |
147 compl_add_category_word(COMPL_ROSTER, "top"); | 147 compl_add_category_word(COMPL_ROSTER, "top"); |
148 compl_add_category_word(COMPL_ROSTER, "up"); | 148 compl_add_category_word(COMPL_ROSTER, "up"); |
149 compl_add_category_word(COMPL_ROSTER, "down"); | 149 compl_add_category_word(COMPL_ROSTER, "down"); |
150 compl_add_category_word(COMPL_ROSTER, "group_prev"); | |
151 compl_add_category_word(COMPL_ROSTER, "group_next"); | |
150 compl_add_category_word(COMPL_ROSTER, "hide"); | 152 compl_add_category_word(COMPL_ROSTER, "hide"); |
151 compl_add_category_word(COMPL_ROSTER, "show"); | 153 compl_add_category_word(COMPL_ROSTER, "show"); |
152 compl_add_category_word(COMPL_ROSTER, "toggle"); | 154 compl_add_category_word(COMPL_ROSTER, "toggle"); |
153 compl_add_category_word(COMPL_ROSTER, "hide_offline"); | 155 compl_add_category_word(COMPL_ROSTER, "hide_offline"); |
154 compl_add_category_word(COMPL_ROSTER, "show_offline"); | 156 compl_add_category_word(COMPL_ROSTER, "show_offline"); |
654 update_roster = TRUE; | 656 update_roster = TRUE; |
655 } else if (!strcasecmp(subcmd, "up")) { | 657 } else if (!strcasecmp(subcmd, "up")) { |
656 scr_RosterUp(); | 658 scr_RosterUp(); |
657 } else if (!strcasecmp(subcmd, "down")) { | 659 } else if (!strcasecmp(subcmd, "down")) { |
658 scr_RosterDown(); | 660 scr_RosterDown(); |
661 } else if (!strcasecmp(subcmd, "group_prev")) { | |
662 scr_RosterPrevGroup(); | |
663 } else if (!strcasecmp(subcmd, "group_next")) { | |
664 scr_RosterNextGroup(); | |
659 } else if (!strcasecmp(subcmd, "note")) { | 665 } else if (!strcasecmp(subcmd, "note")) { |
660 roster_note(arg); | 666 roster_note(arg); |
661 } else | 667 } else |
662 scr_LogPrint(LPRINT_NORMAL, "Unrecognized parameter!"); | 668 scr_LogPrint(LPRINT_NORMAL, "Unrecognized parameter!"); |
663 free_arg_lst(paramlst); | 669 free_arg_lst(paramlst); |