[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677

sullivan sullivan at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 06:44:49 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit d2d5b79714373c75c23241d45559500c256c880a
Author: sullivan <sullivan at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Thu Sep 26 00:57:37 2002 +0000

    	- fixed 3060773 -- Wrong title proposed when image link
    	dropped on favorites bar
    
            * WebView.subproj/WebHTMLView.m:
            (-[WebHTMLView mouseDragged:]): Claim the pasteboard (via
    	declareTypes:) before putting data on it.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2171 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKit/ChangeLog b/WebKit/ChangeLog
index 77eb280..a4247d6 100644
--- a/WebKit/ChangeLog
+++ b/WebKit/ChangeLog
@@ -1,3 +1,12 @@
+2002-09-25  John Sullivan  <sullivan at apple.com>
+
+	- fixed 3060773 -- Wrong title proposed when image link 
+	dropped on favorites bar
+
+        * WebView.subproj/WebHTMLView.m:
+        (-[WebHTMLView mouseDragged:]): Claim the pasteboard (via
+	declareTypes:) before putting data on it.
+
 2002-09-25  Richard Williamson   <rjw at apple.com>
 
         API and documentation tweaks.
diff --git a/WebKit/ChangeLog-2002-12-03 b/WebKit/ChangeLog-2002-12-03
index 77eb280..a4247d6 100644
--- a/WebKit/ChangeLog-2002-12-03
+++ b/WebKit/ChangeLog-2002-12-03
@@ -1,3 +1,12 @@
+2002-09-25  John Sullivan  <sullivan at apple.com>
+
+	- fixed 3060773 -- Wrong title proposed when image link 
+	dropped on favorites bar
+
+        * WebView.subproj/WebHTMLView.m:
+        (-[WebHTMLView mouseDragged:]): Claim the pasteboard (via
+	declareTypes:) before putting data on it.
+
 2002-09-25  Richard Williamson   <rjw at apple.com>
 
         API and documentation tweaks.
diff --git a/WebKit/WebView.subproj/WebHTMLView.m b/WebKit/WebView.subproj/WebHTMLView.m
index b17ef73..15d0b18 100644
--- a/WebKit/WebView.subproj/WebHTMLView.m
+++ b/WebKit/WebView.subproj/WebHTMLView.m
@@ -477,6 +477,7 @@
                 //NSPoint imagePoint = NSMakePoint(mousePoint.x - centerOffset.width, mousePoint.y - centerOffset.height);
 
                 NSPasteboard *pasteboard = [NSPasteboard pasteboardWithName:NSDragPboard];
+                [pasteboard declareTypes:[NSArray arrayWithObject:NSTIFFPboardType] owner:nil];
                 [pasteboard setData:[image TIFFRepresentation] forType:NSTIFFPboardType];
                 
                 [self dragImage:image

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list