rpms/firefox/devel firefox-1.5-dnd-nograb.patch, NONE, 1.1 firefox.spec, 1.167, 1.168

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Wed Jan 31 04:40:14 UTC 2007


Author: caillon

Update of /cvs/dist/rpms/firefox/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv10378

Modified Files:
	firefox.spec 
Added Files:
	firefox-1.5-dnd-nograb.patch 
Log Message:
* Tue Jan 30 2007 Christopher Aillon <caillon at redhat.com> 2.0.0.1-4
- Fix the DND implementation to not grab, so it works with new GTK+.


firefox-1.5-dnd-nograb.patch:
 nsDragService.cpp |    2 --
 1 files changed, 2 deletions(-)

--- NEW FILE firefox-1.5-dnd-nograb.patch ---
See https://bugzilla.mozilla.org/show_bug.cgi?id=367203

Index: mozilla/widget/src/gtk2/nsDragService.cpp
===================================================================
RCS file: /cvsroot/mozilla/widget/src/gtk2/nsDragService.cpp,v
retrieving revision 1.9.10.1
diff -d -u -p -r1.9.10.1 nsDragService.cpp
--- mozilla/widget/src/gtk2/nsDragService.cpp	22 Jun 2006 21:37:45 -0000	1.9.10.1
+++ mozilla/widget/src/gtk2/nsDragService.cpp	31 Jan 2007 04:27:43 -0000
@@ -799,7 +799,6 @@ nsDragService::IsTargetContextList(void)
 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 @@ nsDragService::GetTargetDragData(GdkAtom
         gtk_main_iteration();
     }
     PR_LOG(sDragLm, PR_LOG_DEBUG, ("finished inner iteration\n"));
-    gtk_grab_remove(mHiddenWidget);
 }
 
 void


Index: firefox.spec
===================================================================
RCS file: /cvs/dist/rpms/firefox/devel/firefox.spec,v
retrieving revision 1.167
retrieving revision 1.168
diff -u -r1.167 -r1.168
--- firefox.spec	18 Jan 2007 20:19:46 -0000	1.167
+++ firefox.spec	31 Jan 2007 04:40:11 -0000	1.168
@@ -11,7 +11,7 @@
 Summary:        Mozilla Firefox Web browser.
 Name:           firefox
 Version:        2.0.0.1
-Release:        3%{?dist}
+Release:        4%{?dist}
 URL:            http://www.mozilla.org/projects/firefox/
 License:        MPL/LGPL
 Group:          Applications/Internet
@@ -64,6 +64,7 @@
 Patch100:       firefox-1.5-gtk-key-theme-crash.patch
 Patch101:       firefox-1.5-embedwindow-visibility.patch
 Patch102:       firefox-1.5-theme-change.patch
+Patch103:       firefox-1.5-dnd-nograb.patch
 
 %if %{official_branding}
 # Required by Mozilla Corporation
@@ -157,6 +158,7 @@
 #%patch100 -p0 -b .gtk-key-theme-crash
 %patch101 -p0 -b .embedwindow-visibility
 %patch102 -p0 -b .theme-change
+%patch103 -p1 -b .dnd-nograb
 
 # For branding specific patches.
 
@@ -408,6 +410,9 @@
 #---------------------------------------------------------------------
 
 %changelog
+* Tue Jan 30 2007 Christopher Aillon <caillon at redhat.com> 2.0.0.1-4
+- Fix the DND implementation to not grab, so it works with new GTK+.
+
 * Thu Jan 18 2007 Christopher Aillon <caillon at redhat.com> 2.0.0.1-3
 - Remove the XLIB_SKIP_ARGB_VISUALS=1 workaround; the plugin got fixed.
 




More information about the fedora-cvs-commits mailing list