From e18ae79201fdcbfce17018c2d9cc4b9225c53865 Mon Sep 17 00:00:00 2001 From: Thomas Leonard Date: Wed, 9 Feb 2000 21:42:34 +0000 Subject: [PATCH] r187: Requesting a 'raw' type now returns that type rather than the type we think the file is (usually won't matter). --- ROX-Filer/src/dnd.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ROX-Filer/src/dnd.c b/ROX-Filer/src/dnd.c index 5baeba6c..505c5f4e 100644 --- a/ROX-Filer/src/dnd.c +++ b/ROX-Filer/src/dnd.c @@ -447,12 +447,10 @@ void drag_data_get(GtkWidget *widget, &to_send, &to_send_length)) { delete_once_sent = TRUE; - if (item->mime_type) - type = type_to_atom(item->mime_type); - else - type = application_octet_stream; + type = selection_data->type; break; } + g_warning("drag_data_get: Can't find selected item\n"); return; case TARGET_URI_LIST: string = g_string_new(NULL); -- 2.11.4.GIT