Title: [124321] releases/WebKitGTK/webkit-1.8/Source/WebKit/gtk
Revision
124321
Author
[email protected]
Date
2012-08-01 04:19:19 -0700 (Wed, 01 Aug 2012)

Log Message

Merge 124177 - [GTK] New lines automatically and repeatedly added to list items in Etherpad
https://bugs.webkit.org/show_bug.cgi?id=89971

Reviewed by Ryosuke Niwa.

Disable the deletion UI by default. This UI, which was enabled as a side-effect
of the addition of the private editing API, seems to expose a bug in Etherpad
which causes the continuous insertion of bullet points.

* WebCoreSupport/EditorClientGtk.cpp:
(WebKit::EditorClient::shouldShowDeleteInterface): Disable the deletion UI by default.

Modified Paths

Diff

Modified: releases/WebKitGTK/webkit-1.8/Source/WebKit/gtk/ChangeLog (124320 => 124321)


--- releases/WebKitGTK/webkit-1.8/Source/WebKit/gtk/ChangeLog	2012-08-01 10:07:55 UTC (rev 124320)
+++ releases/WebKitGTK/webkit-1.8/Source/WebKit/gtk/ChangeLog	2012-08-01 11:19:19 UTC (rev 124321)
@@ -1,3 +1,17 @@
+2012-07-30  Martin Robinson  <[email protected]>
+
+        [GTK] New lines automatically and repeatedly added to list items in Etherpad
+        https://bugs.webkit.org/show_bug.cgi?id=89971
+
+        Reviewed by Ryosuke Niwa.
+
+        Disable the deletion UI by default. This UI, which was enabled as a side-effect
+        of the addition of the private editing API, seems to expose a bug in Etherpad
+        which causes the continuous insertion of bullet points.
+
+        * WebCoreSupport/EditorClientGtk.cpp:
+        (WebKit::EditorClient::shouldShowDeleteInterface): Disable the deletion UI by default.
+
 2012-06-27  Martin Robinson  <[email protected]>
 
         [gtk] Spell checker doesn't recognize contractions (apostrophes)

Modified: releases/WebKitGTK/webkit-1.8/Source/WebKit/gtk/WebCoreSupport/EditorClientGtk.cpp (124320 => 124321)


--- releases/WebKitGTK/webkit-1.8/Source/WebKit/gtk/WebCoreSupport/EditorClientGtk.cpp	2012-08-01 10:07:55 UTC (rev 124320)
+++ releases/WebKitGTK/webkit-1.8/Source/WebKit/gtk/WebCoreSupport/EditorClientGtk.cpp	2012-08-01 11:19:19 UTC (rev 124321)
@@ -143,7 +143,7 @@
 
 bool EditorClient::shouldShowDeleteInterface(HTMLElement* element)
 {
-    gboolean accept = TRUE;
+    gboolean accept = FALSE;
     GRefPtr<WebKitDOMHTMLElement> kitElement(adoptGRef(kit(element)));
     g_signal_emit_by_name(m_webView, "should-show-delete-interface-for-element", kitElement.get(), &accept);
     return accept;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to