summaryrefslogtreecommitdiffstats
path: root/libraries/libfm/patches/0008-3586178-Comparison-is-wrong-bug-6421-in-libexo.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libfm/patches/0008-3586178-Comparison-is-wrong-bug-6421-in-libexo.patch')
-rw-r--r--libraries/libfm/patches/0008-3586178-Comparison-is-wrong-bug-6421-in-libexo.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/libraries/libfm/patches/0008-3586178-Comparison-is-wrong-bug-6421-in-libexo.patch b/libraries/libfm/patches/0008-3586178-Comparison-is-wrong-bug-6421-in-libexo.patch
new file mode 100644
index 0000000000..f0505ac3b6
--- /dev/null
+++ b/libraries/libfm/patches/0008-3586178-Comparison-is-wrong-bug-6421-in-libexo.patch
@@ -0,0 +1,26 @@
+From 19801e7f3d906ebb4470de0818945e9686dcdf66 Mon Sep 17 00:00:00 2001
+From: galtgendo <galt_gendo@sourceforge.net>
+Date: Tue, 13 Nov 2012 00:12:42 +0200
+Subject: [PATCH 08/22] [#3586178]Comparison is wrong (bug #6421 in libexo).
+
+http://git.xfce.org/xfce/exo/commit/?id=97b9c443baf879580ed851525a3150913c89ec10
+---
+ src/gtk/exo/exo-icon-view.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/gtk/exo/exo-icon-view.c b/src/gtk/exo/exo-icon-view.c
+index b572cb0..11bd0cf 100644
+--- a/src/gtk/exo/exo-icon-view.c
++++ b/src/gtk/exo/exo-icon-view.c
+@@ -7581,7 +7581,7 @@ exo_icon_view_set_drag_dest_item (ExoIconView *icon_view,
+
+ /* special case a drop on an empty model */
+ icon_view->priv->empty_view_drop = FALSE;
+- if (pos == EXO_ICON_VIEW_DROP_LEFT && path
++ if (pos == EXO_ICON_VIEW_NO_DROP && path
+ && gtk_tree_path_get_depth (path) == 1
+ && gtk_tree_path_get_indices (path)[0] == 0)
+ {
+--
+1.8.0.1
+