aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--shell/ChangeLog7
-rw-r--r--shell/e-storage-set-view.c4
2 files changed, 9 insertions, 2 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 6698064f7d..8f0116e004 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,5 +1,12 @@
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
gtk_widget_destroy() the icon_widget if it's not NULL.
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;