Clarified the meaning of PURPLE_REASON_NETWORK_ERROR and
PURPLE_REASON_AUTHENTICATION_FAILED, and added
PURPLE_REASON_AUTHENTICATION_IMPOSSIBLE. It's not fatal basically because none
of the places in prpl-jabber that need it set wants_to_die --- should it be?
/**
* @file gntblist.c GNT BuddyList API
* @ingroup finch
*/
/* finch
*
* Finch is the legal property of its developers, whose names are too numerous
* to list here. Please refer to the COPYRIGHT file distributed with this
* source distribution.
*
* 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., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
*/
#include"finch.h"
#include<account.h>
#include<blist.h>
#include<notify.h>
#include<request.h>
#include<savedstatuses.h>
#include<server.h>
#include<signal.h>
#include<status.h>
#include<util.h>
#include"debug.h"
#include"gntbox.h"
#include"gntcombobox.h"
#include"gntentry.h"
#include"gntft.h"
#include"gntlabel.h"
#include"gntline.h"
#include"gntmenu.h"
#include"gntmenuitem.h"
#include"gntmenuitemcheck.h"
#include"gntpounce.h"
#include"gnttree.h"
#include"gntutils.h"
#include"gntwindow.h"
#include"gntblist.h"
#include"gntconv.h"
#include"gntstatus.h"
#include<string.h>
#define PREF_ROOT "/finch/blist"
#define TYPING_TIMEOUT 4000
typedefstruct
{
GntWidget*window;
GntWidget*tree;
GntWidget*tooltip;
PurpleBlistNode*tnode;/* Who is the tooltip being displayed for? */
GList*tagged;/* A list of tagged blistnodes */
GntWidget*context;
PurpleBlistNode*cnode;
/* XXX: I am KISSing */
GntWidget*status;/* Dropdown with the statuses */
GntWidget*statustext;/* Status message */
inttyping;
GntWidget*menu;
/* These are the menuitems that get regenerated */