Mercurial > pidgin
view gtk/gtkconn.h @ 15358:7c41ecf41614
[gaim-migrate @ 18151]
Revert GtkIMHtml hacks that tried to fix gtkimhtml bugs, replace it with
heuristic workaround. If you receive a message with more than 100 HTML tags
strip all formatting before displaying it. Hopefully nobody has any legitimate
uses for 100 HTML tags in a message. I guess we'll see in beta6... which I think
we're good for now.
I think that post-2.0.0 we'll wind up replacing GtkIMHtml with a legitimate
HTML widget and do the Adium/Kopete "chat theme" thing. An HTML widget should
be able to handle formatting more efficiently than GtkTextView.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Thu, 18 Jan 2007 02:35:14 +0000 |
parents | 009db0b357b5 |
children |
line wrap: on
line source
/** * @file gtkconn.h GTK+ Connection API * * gaim * * Gaim 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef _GAIM_GTKCONN_H_ #define _GAIM_GTKCONN_H_ /**************************************************************************/ /** @name GTK+ Connection API */ /**************************************************************************/ /*@{*/ /** * Gets GTK+ Connection UI ops * * @return UI operations struct */ GaimConnectionUiOps *gaim_gtk_connections_get_ui_ops(void); /*@}*/ /** * Returns the GTK+ connection handle. * * @return The handle to the GTK+ connection system. */ void *gaim_gtk_connection_get_handle(void); /** * Initializes the GTK+ connection system. */ void gaim_gtk_connection_init(void); /** * Uninitializes the GTK+ connection system. */ void gaim_gtk_connection_uninit(void); #endif /* _GAIM_GTKCONN_H_ */