comparison src/protocols/yahoo/yay.c @ 2210:3a6fd1e8f00a

[gaim-migrate @ 2220] i haven't even tested this. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 05 Sep 2001 05:25:13 +0000
parents cff4fbe01c7b
children 8c4ff1a368bd
comparison
equal deleted inserted replaced
2209:9b8b32ae3b41 2210:3a6fd1e8f00a
642 642
643 yahoo_activate_id(yd->sess, entry); 643 yahoo_activate_id(yd->sess, entry);
644 if (yd->active_id) 644 if (yd->active_id)
645 g_free(yd->active_id); 645 g_free(yd->active_id);
646 yd->active_id = g_strdup(entry); 646 yd->active_id = g_strdup(entry);
647 g_snprintf(gc->displayname, sizeof(gc->displayname), "%s", yd->active_id);
647 } 648 }
648 649
649 static void yahoo_do_action(struct gaim_connection *gc, char *act) { 650 static void yahoo_do_action(struct gaim_connection *gc, char *act) {
650 if (!strcmp(act, "Activate ID")) { 651 if (!strcmp(act, "Activate ID")) {
651 do_prompt_dialog("Activate which ID:", gc, yahoo_act_id, NULL); 652 do_prompt_dialog("Activate which ID:", gc, yahoo_act_id, NULL);