mcabber/src/commands.c
changeset 330 a9013124ede6
parent 318 45076d02eeef
child 336 eb994ee40029
equal deleted inserted replaced
329:7c53bf62a2a2 330:a9013124ede6
   116   compl_add_category_word(COMPL_ROSTER, "bottom");
   116   compl_add_category_word(COMPL_ROSTER, "bottom");
   117   compl_add_category_word(COMPL_ROSTER, "top");
   117   compl_add_category_word(COMPL_ROSTER, "top");
   118   compl_add_category_word(COMPL_ROSTER, "hide_offline");
   118   compl_add_category_word(COMPL_ROSTER, "hide_offline");
   119   compl_add_category_word(COMPL_ROSTER, "show_offline");
   119   compl_add_category_word(COMPL_ROSTER, "show_offline");
   120   compl_add_category_word(COMPL_ROSTER, "toggle_offline");
   120   compl_add_category_word(COMPL_ROSTER, "toggle_offline");
       
   121   compl_add_category_word(COMPL_ROSTER, "alternate");
   121   compl_add_category_word(COMPL_ROSTER, "search");
   122   compl_add_category_word(COMPL_ROSTER, "search");
   122   compl_add_category_word(COMPL_ROSTER, "unread_first");
   123   compl_add_category_word(COMPL_ROSTER, "unread_first");
   123   compl_add_category_word(COMPL_ROSTER, "unread_next");
   124   compl_add_category_word(COMPL_ROSTER, "unread_next");
   124 
   125 
   125   // Roster category
   126   // Roster category
   345     update_roster = TRUE;
   346     update_roster = TRUE;
   346   } else if (!strcasecmp(arg, "unread_first")) {
   347   } else if (!strcasecmp(arg, "unread_first")) {
   347     scr_RosterUnreadMessage(0);
   348     scr_RosterUnreadMessage(0);
   348   } else if (!strcasecmp(arg, "unread_next")) {
   349   } else if (!strcasecmp(arg, "unread_next")) {
   349     scr_RosterUnreadMessage(1);
   350     scr_RosterUnreadMessage(1);
       
   351   } else if (!strcasecmp(arg, "alternate")) {
       
   352     scr_RosterJumpAlternate();
   350   } else if (!strncasecmp(arg, "search", 6)) {
   353   } else if (!strncasecmp(arg, "search", 6)) {
   351     char *string = arg+6;
   354     char *string = arg+6;
   352     if (*string && (*string != ' ')) {
   355     if (*string && (*string != ' ')) {
   353       scr_LogPrint("Unrecognized parameter!");
   356       scr_LogPrint("Unrecognized parameter!");
   354       return;
   357       return;