comparison src/protocols/yahoo/yahoo.c @ 8235:63c7a16a2c09

[gaim-migrate @ 8958] A bunch of minor changes, much of it from Gary Kramlich (amc_grim/xgrimx): gaim-away_do_menu_leak.diff - plugs a memory leak in the do away menu code gaim-gtkpounce_smart_menu.diff - makes the buddy pounce menu only show currently online accounts so that we can edit them. With the current pounce dialog you can only edit pounces for accounts that are online, this stops users from inadvertently change the account for which a pounce belongs. gaim-remove_pouces_with_account.diff - removes pounces for an account when that account is deleted. It adds a function to pounce.[ch]; gaim_pounces_delete_all_from_account, the doxygen help has been added to punce.h so that it will generate it with the rest of the doxygen api. gaim-yahoo_segfault_on_self_pounce.diff - fixes a segfault which occurred with yahoo if you had a pounce set on yourself to message on signon. What was happening was that the display name was being set after the pounces were being executed. This fixes that. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 12 Feb 2004 05:26:52 +0000
parents dcace041cfb8
children 217643616a74
comparison
equal deleted inserted replaced
8234:a2662eb5955b 8235:63c7a16a2c09
2080 struct yahoo_data *yd = gc->proto_data = g_new0(struct yahoo_data, 1); 2080 struct yahoo_data *yd = gc->proto_data = g_new0(struct yahoo_data, 1);
2081 2081
2082 gc->flags |= GAIM_CONNECTION_HTML | GAIM_CONNECTION_NO_BGCOLOR; 2082 gc->flags |= GAIM_CONNECTION_HTML | GAIM_CONNECTION_NO_BGCOLOR;
2083 2083
2084 gaim_connection_update_progress(gc, _("Connecting"), 1, 2); 2084 gaim_connection_update_progress(gc, _("Connecting"), 1, 2);
2085
2086 gaim_connection_set_display_name(gc, gaim_account_get_username(account));
2085 2087
2086 yd->fd = -1; 2088 yd->fd = -1;
2087 yd->friends = g_hash_table_new_full(g_str_hash, g_str_equal, g_free, yahoo_friend_free); 2089 yd->friends = g_hash_table_new_full(g_str_hash, g_str_equal, g_free, yahoo_friend_free);
2088 yd->confs = NULL; 2090 yd->confs = NULL;
2089 yd->conf_id = 2; 2091 yd->conf_id = 2;