diff options
-rw-r--r-- | shell/ChangeLog | 7 | ||||
-rw-r--r-- | shell/e-storage-set-view.c | 5 |
2 files changed, 11 insertions, 1 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog index 0dca93874a..174bf9ea5c 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,5 +1,12 @@ 2001-09-18 Ettore Perazzoli <ettore@ximian.com> + * 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 <ettore@ximian.com> + * e-splash.c: #include "e-gtk-utils.h". 2001-09-18 Ettore Perazzoli <ettore@ximian.com> 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) |