diff options
-rw-r--r-- | shell/ChangeLog | 5 | ||||
-rw-r--r-- | shell/e-storage-set-view.c | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog index 20e61bc9d7..3abb80a991 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,5 +1,10 @@ 2001-08-23 Ettore Perazzoli <ettore@ximian.com> + * 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 <ettore@ximian.com> + [Fix #5736, crashing when copying a message with drag and drop.] * e-storage-set-view.c (tree_drag_data_received): Handle NULL data 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; |