Commit 7a1f26c9 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer
Browse files

changed order of calls to gimp_dnd_data_dest_add() so that "text/uri-list"

2002-11-25  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdnd.c (gimp_dnd_file_dest_add): changed order of
	calls to gimp_dnd_data_dest_add() so that "text/uri-list" is
	preferred over "text/plain" and "_NETSCAPE_URL". Fixes dropping
	multiple files from nautilus.
parent 1229d8c8
2002-11-25 Michael Natterer <mitch@gimp.org>
* app/widgets/gimpdnd.c (gimp_dnd_file_dest_add): changed order of
calls to gimp_dnd_data_dest_add() so that "text/uri-list" is
preferred over "text/plain" and "_NETSCAPE_URL". Fixes dropping
multiple files from nautilus.
2002-11-25 Michael Natterer <mitch@gimp.org>
 
* app/config/gimpconfig-utils.[ch]: added gimp_config_diff()
......
......@@ -774,13 +774,13 @@ gimp_dnd_file_dest_add (GtkWidget *widget,
GimpDndDropFileFunc set_file_func,
gpointer data)
{
gimp_dnd_data_dest_add (GIMP_DND_TYPE_URI_LIST, widget,
gimp_dnd_data_dest_add (GIMP_DND_TYPE_NETSCAPE_URL, widget,
G_CALLBACK (set_file_func),
data);
gimp_dnd_data_dest_add (GIMP_DND_TYPE_TEXT_PLAIN, widget,
G_CALLBACK (set_file_func),
data);
gimp_dnd_data_dest_add (GIMP_DND_TYPE_NETSCAPE_URL, widget,
gimp_dnd_data_dest_add (GIMP_DND_TYPE_URI_LIST, widget,
G_CALLBACK (set_file_func),
data);
}
......
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