Author: mrl
Date: Mon Feb  5 16:40:53 2007
New Revision: 116246

Added:
   
packages/cooker/mozilla-firefox/current/SOURCES/mozilla-firefox-2.0.0.1-dnd-nograb.patch
Modified:
   packages/cooker/mozilla-firefox/current/SPECS/mozilla-firefox.spec

Log:
- Added patch dnd-nograb: fixes #28483. Thanks to neoclust for pointing out the
  fix.


Added: 
packages/cooker/mozilla-firefox/current/SOURCES/mozilla-firefox-2.0.0.1-dnd-nograb.patch
==============================================================================
--- (empty file)
+++ 
packages/cooker/mozilla-firefox/current/SOURCES/mozilla-firefox-2.0.0.1-dnd-nograb.patch
    Mon Feb  5 16:40:53 2007
@@ -0,0 +1,19 @@
+See https://bugzilla.mozilla.org/show_bug.cgi?id=367203
+--- mozilla/widget/src/gtk2/nsDragService.cpp.dnd      2007-02-02 
08:50:54.000000000 -0500
++++ mozilla/widget/src/gtk2/nsDragService.cpp  2007-02-02 08:51:01.000000000 
-0500
+@@ -799,7 +799,6 @@
+ void
+ nsDragService::GetTargetDragData(GdkAtom aFlavor)
+ {
+-    gtk_grab_add(mHiddenWidget);
+     PR_LOG(sDragLm, PR_LOG_DEBUG, ("getting data flavor %d\n", aFlavor));
+     PR_LOG(sDragLm, PR_LOG_DEBUG, ("mLastWidget is %p and mLastContext is 
%p\n",
+                                    mTargetWidget, mTargetDragContext));
+@@ -817,7 +816,6 @@
+         gtk_main_iteration();
+     }
+     PR_LOG(sDragLm, PR_LOG_DEBUG, ("finished inner iteration\n"));
+-    gtk_grab_remove(mHiddenWidget);
+ }
+ 
+ void

Modified: packages/cooker/mozilla-firefox/current/SPECS/mozilla-firefox.spec
==============================================================================
--- packages/cooker/mozilla-firefox/current/SPECS/mozilla-firefox.spec  
(original)
+++ packages/cooker/mozilla-firefox/current/SPECS/mozilla-firefox.spec  Mon Feb 
 5 16:40:53 2007
@@ -169,6 +169,8 @@
 # (mrl) 2.0.0.1 fix netstat zombie process (upstream bug 51429)
 Patch126:      firefox-2.0.0.1-bug51429-safe_pclose.patch
 Patch127:      firefox-2.0.0.1-bug51429-safe_popen.patch
+# (mrl) 2.0.0.1 Fix bookmarks Drag and Drop (#28483)
+Patch128:      mozilla-firefox-2.0.0.1-dnd-nograb.patch
 
 BuildRoot:      %_tmppath/%name-%version-buildroot
 Requires:      indexhtml
@@ -403,6 +405,7 @@
 %patch126 -p0 -b .safe_pclose
 %patch127 -p0 -b .safe_popen
 cd -
+%patch128 -p1
 
 #change to our own bookmarks
 rm -f profile/defaults/bookmarks.html

Reply via email to