/pidgin/main: 151a6a5a0521: The default editing flags should ena...

Elliott Sales de Andrade qulogic at pidgin.im
Thu Jul 26 17:59:19 EDT 2012


Changeset: 151a6a5a052155a2a116ab4b83c640ea4e153b86
Author:	 Elliott Sales de Andrade <qulogic at pidgin.im>
Date:	 2012-07-26 02:04 -0400
Branch:	 default
URL: http://hg.pidgin.im/pidgin/main/rev/151a6a5a0521

Description:

The default editing flags should enable everything.

diffstat:

 pidgin/gtkwebview.c |  4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diffs (23 lines):

diff --git a/pidgin/gtkwebview.c b/pidgin/gtkwebview.c
--- a/pidgin/gtkwebview.c
+++ b/pidgin/gtkwebview.c
@@ -697,8 +697,10 @@ gtk_webview_page_down(GtkWebView *webvie
 void
 gtk_webview_set_editable(GtkWebView *webview, gboolean editable)
 {
+	GtkWebViewPriv *priv;
 	g_return_if_fail(webview != NULL);
 
+	priv = GTK_WEBVIEW_GET_PRIVATE(webview);
 	webkit_web_view_set_editable(WEBKIT_WEB_VIEW(webview), editable);
 
 	if (editable) {
@@ -709,6 +711,8 @@ gtk_webview_set_editable(GtkWebView *web
 		                                     G_CALLBACK(editable_input_cb),
 		                                     NULL);
 	}
+
+	priv->format_functions = GTK_WEBVIEW_ALL;
 }
 
 void



More information about the Commits mailing list