aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-storage-set-view.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-09-19 07:08:06 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-09-19 07:08:06 +0800
commit4889b42644a83740aa5799051417ae22a7ad5a10 (patch)
tree6cd08ebc25ed7a345ce4f58ff72e553d378ec086 /shell/e-storage-set-view.c
parent7728dbda7d5a4f1fb89e0a70c6db7cf9b5fdd06c (diff)
downloadgsoc2013-evolution-4889b42644a83740aa5799051417ae22a7ad5a10.tar
gsoc2013-evolution-4889b42644a83740aa5799051417ae22a7ad5a10.tar.gz
gsoc2013-evolution-4889b42644a83740aa5799051417ae22a7ad5a10.tar.bz2
gsoc2013-evolution-4889b42644a83740aa5799051417ae22a7ad5a10.tar.lz
gsoc2013-evolution-4889b42644a83740aa5799051417ae22a7ad5a10.tar.xz
gsoc2013-evolution-4889b42644a83740aa5799051417ae22a7ad5a10.tar.zst
gsoc2013-evolution-4889b42644a83740aa5799051417ae22a7ad5a10.zip
New arg @row. Highlight that row. (tree_drag_motion): Pass @row to
* e-storage-set-view.c (handle_evolution_path_drag_motion): New arg @row. Highlight that row. (tree_drag_motion): Pass @row to `handle_evolution_path_drag_motion()'. svn path=/trunk/; revision=12961
Diffstat (limited to 'shell/e-storage-set-view.c')
-rw-r--r--shell/e-storage-set-view.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/shell/e-storage-set-view.c b/shell/e-storage-set-view.c
index 9edc5ce07f..9218b184a7 100644
--- a/shell/e-storage-set-view.c
+++ b/shell/e-storage-set-view.c
@@ -1011,6 +1011,7 @@ tree_drag_data_delete (ETree *tree,
static gboolean
handle_evolution_path_drag_motion (EStorageSetView *storage_set_view,
ETreePath path,
+ int row,
GdkDragContext *context,
unsigned int time)
{
@@ -1024,6 +1025,8 @@ handle_evolution_path_drag_motion (EStorageSetView *storage_set_view,
else
action = GDK_ACTION_MOVE;
+ e_tree_drag_highlight (E_TREE (storage_set_view), row, -1);
+
gdk_drag_status (context, action, time);
return TRUE;
@@ -1067,7 +1070,7 @@ tree_drag_motion (ETree *tree,
return FALSE;
if (strcmp (dnd_type, EVOLUTION_PATH_TARGET_TYPE) == 0)
- return handle_evolution_path_drag_motion (storage_set_view, path, context, time);
+ return handle_evolution_path_drag_motion (storage_set_view, path, row, context, time);
destination_folder_interface = evolution_shell_component_client_get_dnd_destination_interface (component_client);
if (destination_folder_interface == NULL)