aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-storage-set-view.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-08-24 05:28:43 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-08-24 05:28:43 +0800
commit94326a9ac80ea9e3227d4df8e29441eaedbda22a (patch)
tree2ad091d594511f2bd6d8ebc9c23796ca86e43cec /shell/e-storage-set-view.c
parent8aecd161b7dfd5fafa24702610bc3c930928ec22 (diff)
downloadgsoc2013-evolution-94326a9ac80ea9e3227d4df8e29441eaedbda22a.tar.gz
gsoc2013-evolution-94326a9ac80ea9e3227d4df8e29441eaedbda22a.tar.zst
gsoc2013-evolution-94326a9ac80ea9e3227d4df8e29441eaedbda22a.zip
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
Diffstat (limited to 'shell/e-storage-set-view.c')
-rw-r--r--shell/e-storage-set-view.c3
1 files changed, 3 insertions, 0 deletions
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;