[SCM] WebKit Debian packaging branch, webkit-1.2, updated. upstream/1.1.90-6072-g9a69373
mrowe at apple.com
mrowe at apple.com
Wed Apr 7 23:15:50 UTC 2010
The following commit has been merged in the webkit-1.2 branch:
commit 2ab7210699201a1cd7a8ed0177cb8266b906db97
Author: mrowe at apple.com <mrowe at apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Fri Oct 30 05:57:29 2009 +0000
Validate the stopSpeaking: selector so that is not always enabled when a WebView is first responder.
Reviewed by Oliver Hunt.
* WebView/WebHTMLView.mm:
(-[WebHTMLView validateUserInterfaceItemWithoutDelegate:]):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50317 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebKit/mac/ChangeLog b/WebKit/mac/ChangeLog
index bbd0eb5..87ac553 100644
--- a/WebKit/mac/ChangeLog
+++ b/WebKit/mac/ChangeLog
@@ -1,3 +1,12 @@
+2009-10-29 Mark Rowe <mrowe at apple.com>
+
+ Reviewed by Oliver Hunt.
+
+ Validate the stopSpeaking: selector so that is not always enabled when a WebView is first responder.
+
+ * WebView/WebHTMLView.mm:
+ (-[WebHTMLView validateUserInterfaceItemWithoutDelegate:]):
+
2009-10-29 Anders Carlsson <andersca at apple.com>
Reviewed by Sam Weinig.
diff --git a/WebKit/mac/WebView/WebHTMLView.mm b/WebKit/mac/WebView/WebHTMLView.mm
index 936b6d7..172463f 100644
--- a/WebKit/mac/WebView/WebHTMLView.mm
+++ b/WebKit/mac/WebView/WebHTMLView.mm
@@ -2666,7 +2666,10 @@ WEBCORE_COMMAND(yankAndSelect)
if (action == @selector(_lookUpInDictionaryFromMenu:))
return [self _hasSelection];
-
+
+ if (action == @selector(stopSpeaking:))
+ return [NSApp isSpeaking];
+
#ifndef BUILDING_ON_TIGER
if (action == @selector(toggleGrammarChecking:)) {
// FIXME 4799134: WebView is the bottleneck for this grammar-checking logic, but we must validate
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list