# HG changeset patch # User Richard Laager # Date 1147138959 0 # Node ID c066473fff047709cf0dedac8aeb6c53c78b872e # Parent c502ed5ae9f66e0daba76e27bad540f099b186a2 [gaim-migrate @ 16164] SF Patch #1482906 from Sadrul "The timestamp plugin was not working. This makes it work again. Looks like I didn't update this one when the displaying- signals were moved to gtkconv from conv. Also, I think having this timestamp work for chat windows can't hurt. So I have added support for that too." If you object to the change in functionality, that's easy to remove. I wasn't sure, since I don't use this plugin, but I kept it because I can't think of a reason you wouldn't want the timestamps in chats as well. committer: Tailor Script diff -r c502ed5ae9f6 -r c066473fff04 plugins/timestamp.c --- a/plugins/timestamp.c Tue May 09 01:35:43 2006 +0000 +++ b/plugins/timestamp.c Tue May 09 01:42:39 2006 +0000 @@ -208,14 +208,16 @@ plugin_load(GaimPlugin *plugin) { void *conv_handle = gaim_conversations_get_handle(); + void *gtkconv_handle = gaim_gtk_conversations_get_handle(); init_timer_list(); gaim_signal_connect(conv_handle, "conversation-created", plugin, GAIM_CALLBACK(timestamp_new_convo), NULL); - /* record IM display events for each conversation */ - gaim_signal_connect(conv_handle, "displaying-im-msg", + gaim_signal_connect(gtkconv_handle, "displaying-chat-msg", + plugin, GAIM_CALLBACK(timestamp_displaying_conv_msg), NULL); + gaim_signal_connect(gtkconv_handle, "displaying-im-msg", plugin, GAIM_CALLBACK(timestamp_displaying_conv_msg), NULL); interval = gaim_prefs_get_int("/plugins/gtk/timestamp/interval");