From 94326a9ac80ea9e3227d4df8e29441eaedbda22a Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Thu, 23 Aug 2001 21:28:43 +0000 Subject: If we get no data, don't notify the receiving component at all. * e-storage-set-view.c (tree_drag_data_received): If we get no data, don't notify the receiving component at all. svn path=/trunk/; revision=12423 --- shell/ChangeLog | 5 +++++ shell/e-storage-set-view.c | 3 +++ 2 files changed, 8 insertions(+) (limited to 'shell') diff --git a/shell/ChangeLog b/shell/ChangeLog index 20e61bc9d7..3abb80a991 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,8 @@ +2001-08-23 Ettore Perazzoli + + * e-storage-set-view.c (tree_drag_data_received): If we get no + data, don't notify the receiving component at all. + 2001-08-23 Ettore Perazzoli [Fix #5736, crashing when copying a message with drag and drop.] diff --git a/shell/e-storage-set-view.c b/shell/e-storage-set-view.c index 8ea0b59318..b94a8f98a6 100644 --- a/shell/e-storage-set-view.c +++ b/shell/e-storage-set-view.c @@ -1209,6 +1209,9 @@ tree_drag_data_received (ETree *etree, target_type = gdk_atom_name (selection_data->target); + if (selection_data->data == NULL && selection_data->length == -1) + return; + if (strcmp (target_type, EVOLUTION_PATH_TARGET_TYPE) == 0) { const char *source_path; const char *destination_folder_path; -- cgit v1.2.3