Commit a0782078 authored by Cosimo Cecchi's avatar Cosimo Cecchi

canvas-dnd: don't use activation URI for DnD of special desktop items

Or moving icons on the desktop itself will break.

https://bugzilla.gnome.org/show_bug.cgi?id=697682
parent 599fe366
......@@ -238,7 +238,12 @@ icon_get_data_binder (NautilusCanvasIcon *icon, gpointer data)
canvas_rect_world_to_widget (EEL_CANVAS (container), &world_rect, &widget_rect);
uri = nautilus_canvas_container_get_icon_activation_uri (container, icon);
uri = nautilus_canvas_container_get_icon_uri (container, icon);
if (!eel_uri_is_desktop (uri)) {
g_free (uri);
uri = nautilus_canvas_container_get_icon_activation_uri (container, icon);
}
if (uri == NULL) {
g_warning ("no URI for one of the iterated icons");
return TRUE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment