From 4889b42644a83740aa5799051417ae22a7ad5a10 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Tue, 18 Sep 2001 23:08:06 +0000 Subject: 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 --- shell/ChangeLog | 7 +++++++ shell/e-storage-set-view.c | 5 ++++- 2 files changed, 11 insertions(+), 1 deletion(-) (limited to 'shell') diff --git a/shell/ChangeLog b/shell/ChangeLog index 0dca93874a..174bf9ea5c 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,10 @@ +2001-09-18 Ettore Perazzoli + + * 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()'. + 2001-09-18 Ettore Perazzoli * e-splash.c: #include "e-gtk-utils.h". 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) -- cgit