aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-storage-set-view.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-09-13 07:09:30 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-09-13 07:09:30 +0800
commitd90320e221ccf4b446c4cb3977fdc35fb42b511b (patch)
treecc7d51e25631f25c844bf5e7014f90b83df0782f /shell/e-storage-set-view.c
parent2b03fcd9187d201fa20637af6d5f29df96f6c2b1 (diff)
downloadgsoc2013-evolution-d90320e221ccf4b446c4cb3977fdc35fb42b511b.tar.gz
gsoc2013-evolution-d90320e221ccf4b446c4cb3977fdc35fb42b511b.tar.zst
gsoc2013-evolution-d90320e221ccf4b446c4cb3977fdc35fb42b511b.zip
[Fix #4962, "Highlighting is left after a drag".]
* e-storage-set-view.c (tree_drag_motion): Only highlight when moving over allowed targets. svn path=/trunk/; revision=12789
Diffstat (limited to 'shell/e-storage-set-view.c')
-rw-r--r--shell/e-storage-set-view.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/e-storage-set-view.c b/shell/e-storage-set-view.c
index 6738c7007a..2828ab499a 100644
--- a/shell/e-storage-set-view.c
+++ b/shell/e-storage-set-view.c
@@ -1051,8 +1051,6 @@ tree_drag_motion (ETree *tree,
storage_set_view = E_STORAGE_SET_VIEW (tree);
priv = storage_set_view->priv;
- e_tree_drag_highlight (tree, row, -1);
-
path = e_tree_node_at_row (E_TREE (storage_set_view), row);
component_client = get_component_at_node (storage_set_view, path);
@@ -1090,6 +1088,8 @@ tree_drag_motion (ETree *tree,
CORBA_exception_free (&ev);
+ e_tree_drag_highlight (tree, row, -1);
+
gdk_drag_status (context, convert_corba_drag_action_to_gdk (suggested_action), time);
return TRUE;