comparison plugins/timestamp.c @ 11256:bb0d7b719af2

[gaim-migrate @ 13430] I give you regex filtering in the debug window. We keep a buffer of all the text, so when unpausing all the messages that were output when paused will be displayed, as well as when you change the filter. This _should_ be alright on systems that don't have regex.h but I haven't gotten anyone to test it recently, if it's busted, just #ifdef HAVE_REGEX_H it. committer: Tailor Script <tailor@pidgin.im>
author Gary Kramlich <grim@reaperworld.com>
date Sat, 13 Aug 2005 22:09:34 +0000
parents 50224ac8184d
children 7e0ad3b6882a
comparison
equal deleted inserted replaced
11255:1b1d63602d77 11256:bb0d7b719af2
231 static gboolean 231 static gboolean
232 plugin_load(GaimPlugin *plugin) 232 plugin_load(GaimPlugin *plugin)
233 { 233 {
234 void *conv_handle = gaim_conversations_get_handle(); 234 void *conv_handle = gaim_conversations_get_handle();
235 235
236 gaim_debug_register_category("timestamp");
237
238 init_timer_list(); 236 init_timer_list();
239 237
240 gaim_signal_connect(conv_handle, "conversation-created", 238 gaim_signal_connect(conv_handle, "conversation-created",
241 plugin, GAIM_CALLBACK(timestamp_new_convo), NULL); 239 plugin, GAIM_CALLBACK(timestamp_new_convo), NULL);
242 240
263 for (cnvs = gaim_get_conversations(); cnvs != NULL; cnvs = cnvs->next) { 261 for (cnvs = gaim_get_conversations(); cnvs != NULL; cnvs = cnvs->next) {
264 GaimConversation *c = cnvs->data; 262 GaimConversation *c = cnvs->data;
265 GaimGtkConversation *conv = GAIM_GTK_CONVERSATION(c); 263 GaimGtkConversation *conv = GAIM_GTK_CONVERSATION(c);
266 gtk_imhtml_show_comments(GTK_IMHTML(conv->imhtml), TRUE); 264 gtk_imhtml_show_comments(GTK_IMHTML(conv->imhtml), TRUE);
267 } 265 }
268
269 gaim_debug_unregister_category("timestamp");
270 266
271 return TRUE; 267 return TRUE;
272 } 268 }
273 269
274 static GaimGtkPluginUiInfo ui_info = 270 static GaimGtkPluginUiInfo ui_info =