Mercurial > pidgin
diff pidgin/gtkwebview.h @ 32455:c5e5938bb89a
Add a function for setting a WebView entry based on the
connection flags.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Thu, 05 Jan 2012 01:10:12 +0000 |
parents | 0d50155445fd |
children | 0250c8b3e159 |
line wrap: on
line diff
--- a/pidgin/gtkwebview.h Wed Jan 04 23:56:07 2012 +0000 +++ b/pidgin/gtkwebview.h Thu Jan 05 01:10:12 2012 +0000 @@ -179,6 +179,14 @@ void gtk_webview_set_editable(GtkWebView *webview, gboolean editable); /** + * Setup formatting for a GtkWebView depending on the flags specified. + * + * @param webview The GtkWebView. + * @param flags The connection flags describing the allowed formatting. + */ +void gtk_webview_setup_entry(GtkWebView *webview, PurpleConnectionFlags flags); + +/** * Enables or disables whole buffer formatting only (wbfo) in a GtkWebView. * In this mode formatting options to the buffer take effect for the entire * buffer instead of specific text.