# HG changeset patch # User Sean Egan # Date 1033890974 0 # Node ID bc87186a74783c3423fcf5bb1de7bf54cbf800a8 # Parent bb966d68f9e3fadb56d8f12416722e45ea6e5a1b [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 diff -r bb966d68f9e3 -r bc87186a7478 plugins/Makefile.am --- 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 diff -r bb966d68f9e3 -r bc87186a7478 src/conversation.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));