rpms/thunderbird/devel firefox-1.5-dnd-nograb.patch, NONE, 1.1 thunderbird.spec, 1.90, 1.91

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Wed Jan 31 04:36:25 UTC 2007


Author: caillon

Update of /cvs/dist/rpms/thunderbird/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv7536

Modified Files:
	thunderbird.spec 
Added Files:
	firefox-1.5-dnd-nograb.patch 
Log Message:
* Tue Jan 30 2007 Christopher Aillon <caillon at redhat.com> 1.5.0.9-6
- 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: thunderbird.spec
===================================================================
RCS file: /cvs/dist/rpms/thunderbird/devel/thunderbird.spec,v
retrieving revision 1.90
retrieving revision 1.91
diff -u -r1.90 -r1.91
--- thunderbird.spec	23 Dec 2006 21:05:09 -0000	1.90
+++ thunderbird.spec	31 Jan 2007 04:36:22 -0000	1.91
@@ -8,7 +8,7 @@
 Summary:	Mozilla Thunderbird mail/newsgroup client
 Name:		thunderbird
 Version:	1.5.0.9
-Release:	5%{?dist}
+Release:	6%{?dist}
 URL:		http://www.mozilla.org/projects/thunderbird/
 License:	MPL
 Group:		Applications/Internet
@@ -57,6 +57,7 @@
 # Other 
 Patch102:       firefox-1.5-theme-change.patch
 Patch103:       thunderbird-1.5-profile-migrator.patch
+Patch104:       firefox-1.5-dnd-nograb.patch
 
 %if %{official_branding}
 # Required by Mozilla Corporation
@@ -134,6 +135,7 @@
 
 %patch102 -p0 -b .theme-change
 %patch103 -p1 -b .profile-migrator
+%patch104 -p1 -b .dnd-nograb
 
 %if %{official_branding}
 # Required by Mozilla Corporation
@@ -273,6 +275,9 @@
 #===============================================================================
 
 %changelog
+* Tue Jan 30 2007 Christopher Aillon <caillon at redhat.com> 1.5.0.9-6
+- Fix the DND implementation to not grab, so it works with new GTK+.
+
 * Thu Dec 21 2006 Behdad Esfahbod <besfahbo at redhat.com> 1.5.0.9-5
 - Added firefox-1.5-pango-underline.patch
 




More information about the fedora-cvs-commits mailing list