[PATCH] Add more location button drag targets (was: Incomplete d'n'd support for location bar icon)



Am Mittwoch, den 06.04.2005, 15:12 +0200 schrieb Luca Ferretti:
> Now (HEAD branch) you can use the location bar icon to do d'n'd
> operations on open folders. This is great.
> 
> But it seems that the only target for d'n'd operations starting form
> location bar icons are Desktop and Nautilus folder icons and windows.
> [...]
> Christian, could you finish it?

Thanks for pointing this out. Trivial patch attached.

> BTW could someone "explore" Nautilus d'n'd behavior? Is it complete as
> well as Mac Finder?

What do you expect from it? I've already played around with the finder,
but can't point at any Nautilus D'n'D weakness.

-- 
Christian Neumair <chris gnome-de org>
Index: src/nautilus-spatial-window.c
===================================================================
RCS file: /cvs/gnome/nautilus/src/nautilus-spatial-window.c,v
retrieving revision 1.438
diff -u -r1.438 nautilus-spatial-window.c
--- src/nautilus-spatial-window.c	30 Mar 2005 03:31:59 -0000	1.438
+++ src/nautilus-spatial-window.c	9 Apr 2005 11:20:34 -0000
@@ -94,7 +94,10 @@
 };
 
 static GtkTargetEntry location_button_drag_types[] = {
-	{ NAUTILUS_ICON_DND_GNOME_ICON_LIST_TYPE, 0, NAUTILUS_ICON_DND_GNOME_ICON_LIST }
+	{ NAUTILUS_ICON_DND_GNOME_ICON_LIST_TYPE, 0, NAUTILUS_ICON_DND_GNOME_ICON_LIST },
+	{ NAUTILUS_ICON_DND_URI_LIST_TYPE, 0, NAUTILUS_ICON_DND_URI_LIST },
+	{ NAUTILUS_ICON_DND_URL_TYPE, 0, NAUTILUS_ICON_DND_URL },
+	{ NAUTILUS_ICON_DND_TEXT_TYPE, 0, NAUTILUS_ICON_DND_TEXT }
 };
 
 GNOME_CLASS_BOILERPLATE (NautilusSpatialWindow, nautilus_spatial_window,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]