[Thunar] Add patch for Drag and drop issue. (#446834)
Kevin Fenzi
kevin at fedoraproject.org
Sun Oct 17 17:34:07 UTC 2010
commit 4bde86ec4a838e2c4a75d026a188fc7f7322aca4
Author: Kevin Fenzi <kevin at tummy.com>
Date: Sun Oct 17 11:33:58 2010 -0600
Add patch for Drag and drop issue. (#446834)
Thunar-1.0.2-drag-n-drop.patch | 13 +++++++++++++
Thunar.spec | 7 ++++++-
2 files changed, 19 insertions(+), 1 deletions(-)
---
diff --git a/Thunar-1.0.2-drag-n-drop.patch b/Thunar-1.0.2-drag-n-drop.patch
new file mode 100644
index 0000000..29988c0
--- /dev/null
+++ b/Thunar-1.0.2-drag-n-drop.patch
@@ -0,0 +1,13 @@
+diff -Nur Thunar-1.0.2.orig/thunar/thunar-standard-view.c Thunar-1.0.2/thunar/thunar-standard-view.c
+--- Thunar-1.0.2.orig/thunar/thunar-standard-view.c 2010-05-21 11:10:52.000000000 -0600
++++ Thunar-1.0.2/thunar/thunar-standard-view.c 2010-10-16 21:59:14.692690575 -0600
+@@ -2866,7 +2866,8 @@
+ else
+ {
+ /* request the drag data from the source */
+- gtk_drag_get_data (view, context, target, time);
++ if (target != GDK_NONE)
++ gtk_drag_get_data (view, context, target, time);
+ }
+
+ /* tell Gdk whether we can drop here */
diff --git a/Thunar.spec b/Thunar.spec
index b15b269..992057e 100644
--- a/Thunar.spec
+++ b/Thunar.spec
@@ -3,7 +3,7 @@
Summary: Thunar File Manager
Name: Thunar
Version: 1.0.2
-Release: 2%{?dist}
+Release: 3%{?dist}
License: GPLv2+
URL: http://thunar.xfce.org/
Source0: http://archive.xfce.org/src/xfce/thunar/1.0/Thunar-%{version}.tar.bz2
@@ -11,6 +11,7 @@ Source1: thunar-sendto-bluetooth.desktop
Source2: thunar-sendto-audacious-playlist.desktop
# Upstream bug: http://bugzilla.xfce.org/show_bug.cgi?id=6232
Patch0: Thunar-1.0.2-dsofix.patch
+Patch1: Thunar-1.0.2-drag-n-drop.patch
Group: User Interface/Desktops
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: fam-devel
@@ -66,6 +67,7 @@ libraries and header files for the Thunar file manager.
%setup -q
%patch0 -p1
+%patch1 -p1
# fix icon in thunar-sendto-email.desktop
sed -i 's!internet-mail!mail-message-new!' \
@@ -209,6 +211,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%{_datadir}/gtk-doc/html/*
%changelog
+* Sat Oct 16 2010 Kevin Fenzi <kevin at tummy.com> - 1.0.2-3
+- Add patch for Drag and drop issue. (#446834)
+
* Thu Jun 17 2010 Christoph Wickert <cwickert at fedoraproject.org> - 1.0.2-2
- Fix conditional requirement for hal-storage-addon
More information about the scm-commits
mailing list