comparison src/protocols/msn/notification.c @ 5323:29754a7d94e5

[gaim-migrate @ 5695] Convert the MSN default '~' group to "Buddies" committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Wed, 07 May 2003 01:59:22 +0000
parents a4d017bee1de
children 9737d5ce9dcd
comparison
equal deleted inserted replaced
5322:a4d017bee1de 5323:29754a7d94e5
481 group_id_1 = g_new(gint, 1); 481 group_id_1 = g_new(gint, 1);
482 group_id_2 = g_new(gint, 1); 482 group_id_2 = g_new(gint, 1);
483 483
484 *group_id_1 = group_id; 484 *group_id_1 = group_id;
485 *group_id_2 = group_id; 485 *group_id_2 = group_id;
486
487 if (!strcmp(name, "~"))
488 name = _("Buddies");
486 489
487 g_hash_table_insert(session->group_names, group_id_1, g_strdup(name)); 490 g_hash_table_insert(session->group_names, group_id_1, g_strdup(name));
488 g_hash_table_insert(session->group_ids, g_strdup(name), group_id_2); 491 g_hash_table_insert(session->group_ids, g_strdup(name), group_id_2);
489 492
490 if ((g = gaim_find_group(name)) == NULL) { 493 if ((g = gaim_find_group(name)) == NULL) {