diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2001-09-13 07:09:30 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2001-09-13 07:09:30 +0800 |
commit | d90320e221ccf4b446c4cb3977fdc35fb42b511b (patch) | |
tree | cc7d51e25631f25c844bf5e7014f90b83df0782f | |
parent | 2b03fcd9187d201fa20637af6d5f29df96f6c2b1 (diff) | |
download | gsoc2013-evolution-d90320e221ccf4b446c4cb3977fdc35fb42b511b.tar gsoc2013-evolution-d90320e221ccf4b446c4cb3977fdc35fb42b511b.tar.gz gsoc2013-evolution-d90320e221ccf4b446c4cb3977fdc35fb42b511b.tar.bz2 gsoc2013-evolution-d90320e221ccf4b446c4cb3977fdc35fb42b511b.tar.lz gsoc2013-evolution-d90320e221ccf4b446c4cb3977fdc35fb42b511b.tar.xz 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
-rw-r--r-- | shell/ChangeLog | 7 | ||||
-rw-r--r-- | shell/e-storage-set-view.c | 4 |
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; |