[Nautilus-list] [PATCH] Nautilus URL DnD



On Thu, 2001-11-29 at 10:00, Hans Petter Jansson wrote:
> Hello. I'm looking into drag-and-drop issues on the desktop, and have
> the attached one-line patch against Nautilus (CVS NAUTILUS_1_0_6). I
> consulted Darin, and he advised me to post here.

Uh, and here is the patch.

-- 
Hans Petter
Index: src/file-manager/fm-icon-view.c
===================================================================
RCS file: /cvs/gnome/nautilus/src/file-manager/fm-icon-view.c,v
retrieving revision 1.217.2.1
diff -p -u -r1.217.2.1 fm-icon-view.c
--- src/file-manager/fm-icon-view.c	2001/10/25 21:59:13	1.217.2.1
+++ src/file-manager/fm-icon-view.c	2001/11/28 01:48:06
@@ -2677,7 +2677,7 @@ icon_view_handle_uri_list (NautilusIconC
 			if (!eel_str_is_empty (link_name)) {
 				/* FIXME: Handle name conflicts? */
 				nautilus_link_local_create (container_path, link_name,
-							    "gnome-http-url", local_path,
+							    "gnome-http-url", (char *) node->data,
 							    &point, NAUTILUS_LINK_GENERIC);
 			}
 			


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