Author: mrl
Date: Wed Feb 14 12:24:28 2007
New Revision: 120784

Added:
   
packages/cooker/mozilla-thunderbird/current/SOURCES/mozilla-thunderbird-2.0b2-dnd-nograb.patch
Modified:
   packages/cooker/mozilla-thunderbird/current/SPECS/mozilla-thunderbird.spec

Log:
- Added patch dnd-nograb. Closes: #28051


Added: 
packages/cooker/mozilla-thunderbird/current/SOURCES/mozilla-thunderbird-2.0b2-dnd-nograb.patch
==============================================================================
--- (empty file)
+++ 
packages/cooker/mozilla-thunderbird/current/SOURCES/mozilla-thunderbird-2.0b2-dnd-nograb.patch
      Wed Feb 14 12:24:28 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-thunderbird/current/SPECS/mozilla-thunderbird.spec
==============================================================================
--- packages/cooker/mozilla-thunderbird/current/SPECS/mozilla-thunderbird.spec  
(original)
+++ packages/cooker/mozilla-thunderbird/current/SPECS/mozilla-thunderbird.spec  
Wed Feb 14 12:24:28 2007
@@ -49,7 +49,7 @@
 Summary:       A full-featured email, RSS, and newsgroup client
 Name:          mozilla-thunderbird
 Version:       2.0b2
-Release:       %mkrel 1
+Release:       %mkrel 2
 Epoch:         0
 URL:           http://www.mozilla.org/projects/thunderbird/
 License:       MPL
@@ -101,6 +101,8 @@
 Patch304:       mozilla-thunderbird-run-mozilla.patch
 Patch305:      mozilla-thunderbird-2.0b1-x11libs.patch
 Patch306:      mozilla-thunderbird-enigmail-version.patch
+# Mdv bug #28051
+Patch307:      mozilla-thunderbird-2.0b2-dnd-nograb.patch
 
 BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root
 %if !%build_for_corp3
@@ -217,6 +219,7 @@
 %patch304 -p1 -b .run-mozilla
 
 %patch305 -p2 -b .x11libs
+%patch307 -p1
 
 
#===============================================================================
 # Enigmail

Reply via email to