comparison src/protocols/oscar/oscar.c @ 5537:3becf79500d2

[gaim-migrate @ 5937] This is: -AIM over OSCAR use Christian's new, kick ass gaim_notify_email stuff for new mail notification. This should be good, but it's kind of a pain to test. Let me know if you have any problems -Minor fix to the translation README -2 minor changes to the doxygen of 2 major header files (this means you'll have to recompile a lot of files :-) ) -If your global proxy setting is "No Proxy" and your global proxy host is empty, but $http_proxy is set to something, gaim used to switch your global proxy setting to "HTTP." It no longer does this. This makes more sense to me. If you disagree, please let me know--this is open to debate, and what not. Also, the use of environmental proxy settings will be changed a bit in the next day or two committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Tue, 27 May 2003 03:38:52 +0000
parents e9b9fbf89c42
children cfa4159e5cde
comparison
equal deleted inserted replaced
5536:8bf28c2d100e 5537:3becf79500d2
3443 emailinfo = va_arg(ap, struct aim_emailinfo *); 3443 emailinfo = va_arg(ap, struct aim_emailinfo *);
3444 havenewmail = va_arg(ap, int); 3444 havenewmail = va_arg(ap, int);
3445 va_end(ap); 3445 va_end(ap);
3446 3446
3447 if (emailinfo) { 3447 if (emailinfo) {
3448 gchar *to = g_strdup_printf("%s@%s", gc->username, emailinfo->domain);
3448 if (emailinfo->unread) { 3449 if (emailinfo->unread) {
3449 if (havenewmail) 3450 if (havenewmail)
3450 connection_has_mail(gc, emailinfo->nummsgs ? emailinfo->nummsgs : -1, NULL, NULL, emailinfo->url); 3451 gaim_notify_emails(gc, emailinfo->nummsgs, FALSE, NULL, NULL, &to, &emailinfo->url, NULL, NULL);
3451 } else 3452 } else
3452 connection_has_mail(gc, 0, NULL, NULL, emailinfo->url); 3453 gaim_notify_emails(gc, 0, FALSE, NULL, NULL, &to, &emailinfo->url, NULL, NULL);
3454 g_free(to);
3453 } 3455 }
3454 3456
3455 return 1; 3457 return 1;
3456 } 3458 }
3457 3459