Mercurial > pidgin.yaz
changeset 3597:bc87186a7478
[gaim-migrate @ 3699]
I wrote two plugins tonight, emulating features of other clients.
history.c - this puts the last 4kb of your message log in new conversations
This was first done by EB, copied by Trillian Pro and gets requested of us
once in a while.
timestamp.c - adds iChat-style timestamps to conversations. Never use iChat?
it puts an inconspicuous timestamp at the top of new conversations and then
keeps adding them every 5 minutes. It's hard to explain really--try it out.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Sun, 06 Oct 2002 07:56:14 +0000 |
parents | bb966d68f9e3 |
children | c6f92ece3097 |
files | plugins/Makefile.am src/conversation.c |
diffstat | 2 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/Makefile.am Sun Oct 06 05:01:50 2002 +0000 +++ b/plugins/Makefile.am Sun Oct 06 07:56:14 2002 +0000 @@ -13,7 +13,7 @@ plugindir = $(libdir)/gaim -plugin_DATA = autorecon.so chatlist.so iconaway.so notify.so spellchk.so +plugin_DATA = autorecon.so chatlist.so iconaway.so notify.so spellchk.so history.so timestamp.so $(plugin_DATA): $(top_srcdir)/src/gaim.h @@ -28,4 +28,5 @@ EXTRA_DIST = ChangeLog PERL-HOWTO HOWTO SIGNALS autorecon.c filectl.c iconaway.c \ - notify.c spellchk.c gaim.pl mailchk.c chatlist.c gtik.c error.c + notify.c spellchk.c gaim.pl mailchk.c chatlist.c gtik.c error.c \ + history.c timestamp.c
--- a/src/conversation.c Sun Oct 06 05:01:50 2002 +0000 +++ b/src/conversation.c Sun Oct 06 07:56:14 2002 +0000 @@ -2038,8 +2038,8 @@ } } - if ((c->is_chat && (chat_options & OPT_CHAT_POPUP)) || - (!c->is_chat && (im_options & OPT_IM_POPUP))) + if (!flags & WFLAG_NOLOG && ((c->is_chat && (chat_options & OPT_CHAT_POPUP)) || + (!c->is_chat && (im_options & OPT_IM_POPUP)))) gdk_window_show(c->window->window); if (flags & WFLAG_RECV) reset_typing(g_strdup(c->name));