diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2001-09-19 07:08:06 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2001-09-19 07:08:06 +0800 |
commit | 4889b42644a83740aa5799051417ae22a7ad5a10 (patch) | |
tree | 6cd08ebc25ed7a345ce4f58ff72e553d378ec086 | |
parent | 7728dbda7d5a4f1fb89e0a70c6db7cf9b5fdd06c (diff) | |
download | gsoc2013-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
-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) |