comparison mcabber/src/commands.c @ 236:72fd1273f2b7

[/trunk] Changeset 249 by mikael * Update TODO * Add /roster parameters "unread_first" and "unread_next" * Add Ctrl-q as a shortcut for "/roster unread_next" * Update Documentation (ctrl-q + unread_*) * Update ChangeLog
author mikael
date Fri, 10 Jun 2005 19:03:06 +0000
parents 9a6ba4b38e63
children 8e30b2bb380e
comparison
equal deleted inserted replaced
235:f7f07794d2df 236:72fd1273f2b7
102 // Roster category 102 // Roster category
103 compl_add_category_word(COMPL_ROSTER, "bottom"); 103 compl_add_category_word(COMPL_ROSTER, "bottom");
104 compl_add_category_word(COMPL_ROSTER, "hide_offline"); 104 compl_add_category_word(COMPL_ROSTER, "hide_offline");
105 compl_add_category_word(COMPL_ROSTER, "show_offline"); 105 compl_add_category_word(COMPL_ROSTER, "show_offline");
106 compl_add_category_word(COMPL_ROSTER, "top"); 106 compl_add_category_word(COMPL_ROSTER, "top");
107 compl_add_category_word(COMPL_ROSTER, "unread_first");
108 compl_add_category_word(COMPL_ROSTER, "unread_next");
107 109
108 // Roster category 110 // Roster category
109 compl_add_category_word(COMPL_BUFFER, "bottom"); 111 compl_add_category_word(COMPL_BUFFER, "bottom");
110 compl_add_category_word(COMPL_BUFFER, "clear"); 112 compl_add_category_word(COMPL_BUFFER, "clear");
111 compl_add_category_word(COMPL_BUFFER, "top"); 113 compl_add_category_word(COMPL_BUFFER, "top");
244 update_roster = TRUE; 246 update_roster = TRUE;
245 } else if (!strcasecmp(arg, "show_offline")) { 247 } else if (!strcasecmp(arg, "show_offline")) {
246 buddylist_set_hide_offline_buddies(FALSE); 248 buddylist_set_hide_offline_buddies(FALSE);
247 buddylist_build(); 249 buddylist_build();
248 update_roster = TRUE; 250 update_roster = TRUE;
251 } else if (!strcasecmp(arg, "unread_first")) {
252 scr_RosterUnreadMessage(0);
253 } else if (!strcasecmp(arg, "unread_next")) {
254 scr_RosterUnreadMessage(1);
249 } else 255 } else
250 scr_LogPrint("Unrecognized parameter!"); 256 scr_LogPrint("Unrecognized parameter!");
251 } 257 }
252 258
253 void do_status(char *arg) 259 void do_status(char *arg)