Mercurial > pidgin.yaz
comparison src/buddy.c @ 228:f3b61c04f44e
[gaim-migrate @ 238]
Buddy lists (and changes) are cached to ~/.gaimbdcache_<sn> where <sn> is your
screen name (folder to uppercase). If for some reason, you log into the AOL
server and the buddy list comes back empty, we check for a cache file, and, if
we find one, read it in. This essentially implements recovery from a server
crash at AOL (AOL does not back up machines that contain TOC-based buddy lists,
unfortunately).
committer: Tailor Script <tailor@pidgin.im>
author | Syd Logan <slogan> |
---|---|
date | Wed, 10 May 2000 07:41:25 +0000 |
parents | d95f65a22b14 |
children | 810c595258c8 |
comparison
equal
deleted
inserted
replaced
227:fb8e65df5fe7 | 228:f3b61c04f44e |
---|---|
482 delg->members = g_list_remove(delg->members, delb); | 482 delg->members = g_list_remove(delg->members, delb); |
483 serv_remove_buddy(delb->name); | 483 serv_remove_buddy(delb->name); |
484 g_free(delb); | 484 g_free(delb); |
485 | 485 |
486 serv_save_config(); | 486 serv_save_config(); |
487 | |
488 // flush buddy list to cache | |
489 | |
490 do_export( (GtkWidget *) NULL, 0 ); | |
487 | 491 |
488 update_num_groups(); | 492 update_num_groups(); |
489 | 493 |
490 | 494 |
491 } | 495 } |
514 gtk_tree_remove_items(GTK_TREE(buddies), g_list_append(NULL, delg->item)); | 518 gtk_tree_remove_items(GTK_TREE(buddies), g_list_append(NULL, delg->item)); |
515 groups = g_list_remove(groups, delg); | 519 groups = g_list_remove(groups, delg); |
516 g_free(delg); | 520 g_free(delg); |
517 | 521 |
518 serv_save_config(); | 522 serv_save_config(); |
523 | |
524 // flush buddy list to cache | |
525 | |
526 do_export( (GtkWidget *) NULL, 0 ); | |
519 } | 527 } |
520 | 528 |
521 | 529 |
522 | 530 |
523 void build_permit_tree() | 531 void build_permit_tree() |
752 | 760 |
753 | 761 |
754 } | 762 } |
755 | 763 |
756 serv_save_config(); | 764 serv_save_config(); |
765 | |
766 // flush buddy list to cache | |
767 | |
768 do_export( (GtkWidget *) NULL, 0 ); | |
757 } | 769 } |
758 | 770 |
759 | 771 |
760 | 772 |
761 void build_edit_tree() | 773 void build_edit_tree() |
933 remove_group(g); | 945 remove_group(g); |
934 } | 946 } |
935 | 947 |
936 build_edit_tree(); | 948 build_edit_tree(); |
937 serv_save_config(); | 949 serv_save_config(); |
950 | |
951 // flush buddy list to cache | |
952 | |
953 do_export( (GtkWidget *) NULL, 0 ); | |
954 | |
938 } else { | 955 } else { |
939 /* Nothing selected. */ | 956 /* Nothing selected. */ |
940 } | 957 } |
941 update_num_groups(); | 958 update_num_groups(); |
942 } | 959 } |