--- a/src/blist.c Fri Jul 04 05:38:55 2003 +0000 +++ b/src/blist.c Fri Jul 04 06:10:33 2003 +0000 @@ -72,8 +72,21 @@ static void blist_pref_cb(const char *name, GaimPrefType typ, gpointer value, gpointer data) { - /* XXX - We shouldn't call gtk functions directly */ - /* gaim_gtk_blist_refresh(gaimbuddylist); */ + struct gaim_blist_ui_ops *ops = gaimbuddylist->ui_ops; + GaimBlistNode *group, *buddy; + + if (!ops) + return; + + for(group = gaimbuddylist->root; group; group = group->next) { + if(!GAIM_BLIST_NODE_IS_GROUP(group)) + continue; + for(buddy = group->child; buddy; buddy = buddy->next) { + if(!GAIM_BLIST_NODE_IS_BUDDY(buddy)) + continue; + ops->update(gaimbuddylist, buddy); + } + } } /*****************************************************************************