comparison src/notify.c @ 12647:852df2d9d4f8

[gaim-migrate @ 14985] SF Patch #1360831 from Sadrul "The new mail notifications (the ones that show the from/subject fields) are displayed in one dialog. So things get less messy you are away and a lot of mail-notifs come in." committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Fri, 23 Dec 2005 21:10:24 +0000
parents 851b0bd7eb52
children d12bbe6da705
comparison
equal deleted inserted replaced
12646:5c5e03b9aed6 12647:852df2d9d4f8
79 GaimNotifyInfo *info; 79 GaimNotifyInfo *info;
80 80
81 info = g_new0(GaimNotifyInfo, 1); 81 info = g_new0(GaimNotifyInfo, 1);
82 info->type = GAIM_NOTIFY_EMAIL; 82 info->type = GAIM_NOTIFY_EMAIL;
83 info->handle = handle; 83 info->handle = handle;
84 info->ui_handle = ops->notify_email(subject, from, to, url); 84 info->ui_handle = ops->notify_email(handle, subject, from, to, url);
85 info->cb = cb; 85 info->cb = cb;
86 info->cb_user_data = user_data; 86 info->cb_user_data = user_data;
87 87
88 handles = g_list_append(handles, info); 88 handles = g_list_append(handles, info);
89 89
118 GaimNotifyInfo *info; 118 GaimNotifyInfo *info;
119 119
120 info = g_new0(GaimNotifyInfo, 1); 120 info = g_new0(GaimNotifyInfo, 1);
121 info->type = GAIM_NOTIFY_EMAILS; 121 info->type = GAIM_NOTIFY_EMAILS;
122 info->handle = handle; 122 info->handle = handle;
123 info->ui_handle = ops->notify_emails(count, detailed, subjects, 123 info->ui_handle = ops->notify_emails(handle, count, detailed, subjects,
124 froms, tos, urls); 124 froms, tos, urls);
125 info->cb = cb; 125 info->cb = cb;
126 info->cb_user_data = user_data; 126 info->cb_user_data = user_data;
127 127
128 handles = g_list_append(handles, info); 128 handles = g_list_append(handles, info);