Mercurial > ~mikael > mcabber > hg
comparison mcabber/src/commands.c @ 1311:0dda8238af21
Implement "/roster display"
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Thu, 13 Sep 2007 20:05:21 +0200 |
parents | 9bc68473f8a3 |
children | f4830fada2af |
comparison
equal
deleted
inserted
replaced
1310:a5336c44d4e2 | 1311:0dda8238af21 |
---|---|
175 compl_add_category_word(COMPL_ROSTER, "group_prev"); | 175 compl_add_category_word(COMPL_ROSTER, "group_prev"); |
176 compl_add_category_word(COMPL_ROSTER, "group_next"); | 176 compl_add_category_word(COMPL_ROSTER, "group_next"); |
177 compl_add_category_word(COMPL_ROSTER, "hide"); | 177 compl_add_category_word(COMPL_ROSTER, "hide"); |
178 compl_add_category_word(COMPL_ROSTER, "show"); | 178 compl_add_category_word(COMPL_ROSTER, "show"); |
179 compl_add_category_word(COMPL_ROSTER, "toggle"); | 179 compl_add_category_word(COMPL_ROSTER, "toggle"); |
180 compl_add_category_word(COMPL_ROSTER, "display"); | |
180 compl_add_category_word(COMPL_ROSTER, "hide_offline"); | 181 compl_add_category_word(COMPL_ROSTER, "hide_offline"); |
181 compl_add_category_word(COMPL_ROSTER, "show_offline"); | 182 compl_add_category_word(COMPL_ROSTER, "show_offline"); |
182 compl_add_category_word(COMPL_ROSTER, "toggle_offline"); | 183 compl_add_category_word(COMPL_ROSTER, "toggle_offline"); |
183 compl_add_category_word(COMPL_ROSTER, "item_lock"); | 184 compl_add_category_word(COMPL_ROSTER, "item_lock"); |
184 compl_add_category_word(COMPL_ROSTER, "item_unlock"); | 185 compl_add_category_word(COMPL_ROSTER, "item_unlock"); |
650 update_roster = TRUE; | 651 update_roster = TRUE; |
651 } else if (!strcasecmp(subcmd, "toggle_offline")) { | 652 } else if (!strcasecmp(subcmd, "toggle_offline")) { |
652 buddylist_set_hide_offline_buddies(-1); | 653 buddylist_set_hide_offline_buddies(-1); |
653 buddylist_build(); | 654 buddylist_build(); |
654 update_roster = TRUE; | 655 update_roster = TRUE; |
656 } else if (!strcasecmp(subcmd, "display")) { | |
657 scr_RosterDisplay(arg); | |
655 } else if (!strcasecmp(subcmd, "item_lock")) { | 658 } else if (!strcasecmp(subcmd, "item_lock")) { |
656 roster_buddylock(arg, TRUE); | 659 roster_buddylock(arg, TRUE); |
657 } else if (!strcasecmp(subcmd, "item_unlock")) { | 660 } else if (!strcasecmp(subcmd, "item_unlock")) { |
658 roster_buddylock(arg, FALSE); | 661 roster_buddylock(arg, FALSE); |
659 } else if (!strcasecmp(subcmd, "unread_first")) { | 662 } else if (!strcasecmp(subcmd, "unread_first")) { |