Mercurial > pidgin
comparison src/protocols/yahoo/yay.c @ 2541:8229710b343b
[gaim-migrate @ 2554]
fun stuff.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Thu, 18 Oct 2001 20:56:59 +0000 |
parents | bb6fbe78a3c8 |
children | 5efa8077107f |
comparison
equal
deleted
inserted
replaced
2540:42e8c40247f5 | 2541:8229710b343b |
---|---|
197 | 197 |
198 va_start(ap, sess); | 198 va_start(ap, sess); |
199 count = va_arg(ap, int); | 199 count = va_arg(ap, int); |
200 va_end(ap); | 200 va_end(ap); |
201 | 201 |
202 connection_has_mail(gc, count, NULL, NULL); | 202 connection_has_mail(gc, count, NULL, NULL, "http://mail.yahoo.com/"); |
203 | 203 |
204 return 1; | 204 return 1; |
205 } | 205 } |
206 | 206 |
207 static int yahoo_disconn(struct yahoo_session *sess, ...) { | 207 static int yahoo_disconn(struct yahoo_session *sess, ...) { |
642 g_snprintf(gc->displayname, sizeof(gc->displayname), "%s", yd->active_id); | 642 g_snprintf(gc->displayname, sizeof(gc->displayname), "%s", yd->active_id); |
643 } | 643 } |
644 | 644 |
645 static void yahoo_do_action(struct gaim_connection *gc, char *act) { | 645 static void yahoo_do_action(struct gaim_connection *gc, char *act) { |
646 if (!strcmp(act, "Activate ID")) { | 646 if (!strcmp(act, "Activate ID")) { |
647 do_prompt_dialog("Activate which ID:", gc, yahoo_act_id, NULL); | 647 do_prompt_dialog("Activate which ID:", gc->displayname, gc, yahoo_act_id, NULL); |
648 } | 648 } |
649 } | 649 } |
650 | 650 |
651 static GList *yahoo_actions() { | 651 static GList *yahoo_actions() { |
652 GList *m = NULL; | 652 GList *m = NULL; |