summaryrefslogtreecommitdiff
path: root/libraries/libfm/patches/0008-3586178-Comparison-is-wrong-bug-6421-in-libexo.patch
blob: f0505ac3b6f1b62f9f4621681dc2b56557bb67ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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