Mercurial > pidgin
diff libgaim/protocols/jabber/jabber.c @ 15163:fe05223b5d04
[gaim-migrate @ 17949]
Gmail notifications patch from Chris Stafford
- The plugin will only do anything if it sees "google:mail:notify" in disco.
- I decided to give Jabber a mail notification option for this, since the
feature has traditionally meant "notify me of new mail if I happen to have
a mail account that this server will notify me of"
- I decided to show the first unread mail in a thread, rather than all unread
messages[A
- I made a google.c/google.h file to keep code for Google Talk extensions
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Sun, 10 Dec 2006 23:08:45 +0000 |
parents | b81e4e44b509 |
children | bbeb1dfcb25b |
line wrap: on
line diff
--- a/libgaim/protocols/jabber/jabber.c Sun Dec 10 22:01:22 2006 +0000 +++ b/libgaim/protocols/jabber/jabber.c Sun Dec 10 23:08:45 2006 +0000 @@ -998,6 +998,8 @@ g_free(js->sasl_cb); #endif g_free(js->server_name); + g_free(js->gmail_last_time); + g_free(js->gmail_last_tid); g_free(js); gc->proto_data = NULL; @@ -1847,7 +1849,7 @@ static GaimPluginProtocolInfo prpl_info = { - OPT_PROTO_CHAT_TOPIC | OPT_PROTO_UNIQUE_CHATNAME, + OPT_PROTO_CHAT_TOPIC | OPT_PROTO_UNIQUE_CHATNAME | OPT_PROTO_MAIL_CHECK, NULL, /* user_splits */ NULL, /* protocol_options */ {"png,gif,jpeg", 0, 0, 96, 96, GAIM_ICON_SCALE_SEND | GAIM_ICON_SCALE_DISPLAY}, /* icon_spec */