[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
This commit is contained in:
Ettore Perazzoli
2001-09-12 23:09:30 +00:00
parent 2b03fcd918
commit d90320e221
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2001-09-12 Ettore Perazzoli <ettore@ximian.com>
[Fix #4962, "Highlighting is left after a drag".]
* e-storage-set-view.c (tree_drag_motion): Only highlight when
moving over allowed targets.
2001-09-12 Ettore Perazzoli <ettore@ximian.com>
* e-shell-folder-title-bar.c (unrealize): Only

View File

@ -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;