make dist changes to po files and our slovenian claims that this commit is
still necessary, even though I swear I have committed every update he has
sent.
/*
* Gaim - iChat-like timestamps
*
* Copyright (C) 2002-2003, Sean Egan
* Copyright (C) 2003, Chris J. Friesen <Darth_Sebulba04@yahoo.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*/
#include"internal.h"
#include"conversation.h"
#include"debug.h"
#include"prefs.h"
#include"signals.h"
#include"version.h"
#include"gtkimhtml.h"
#include"gtkplugin.h"
#include"gtkutils.h"
#define TIMESTAMP_PLUGIN_ID "gtk-timestamp"
/* Set the default to 5 minutes. */
staticintinterval=5*60*1000;
staticGSList*timestamp_timeouts=NULL;
staticgbooleando_timestamp(gpointerdata)
{
GaimConversation*c=(GaimConversation*)data;
char*buf;
charmdate[6];
intis_conversation_active;
time_ttim=time(NULL);
if(!g_list_find(gaim_get_conversations(),c))
returnFALSE;
/* is_conversation_active is true if an im has been displayed since the last timestamp */