Status bar num of server update for filter on-off

git-svn-id: http://svn.code.sf.net/p/xqf/code/trunk@325 d2ac09be-c843-0410-8b1f-f8a84130e0ec
This commit is contained in:
Alex Burger 2002-10-27 13:47:32 +00:00 committed by alex_b
parent d690945fef
commit ab29102a50
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,7 @@
Oct 27, 2002: Alex <alex_b@users.sourceforge.net>
- Number of servers in status bar now updated when enabling / disabling a
filter
Oct 26, 2002: Alex <alex_b@users.sourceforge.net>
- Set focus to Game Contains when adding new server filter
- Set focus to Game when adding new custom arg

View File

@ -571,6 +571,8 @@ static void filter_toggle_callback (GtkWidget *widget, unsigned char mask) {
if (!forced_filters_flag) {
cur_filter ^= mask;
server_clist_build_filtered (cur_server_list, FALSE); /* in srv-list.c */
print_status (main_status_bar, (server_clist->rows == 1) ?
_("%d server") : _("%d servers"), server_clist->rows);
}
}