Commit 33370866 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

according to an older mail from Owen, GDK_ACTION_DEFAULT means nothing and

2003-10-17  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdnd.c (gimp_dnd_file_dest_add): according to an
	older mail from Owen, GDK_ACTION_DEFAULT means nothing and should
	not be used.

	* app/widgets/gimpcontainertreeview-dnd.c
	(gimp_container_tree_view_drop_status): pass 0 to gdk_drag_status()
	instead of GDK_ACTION_DEFAULT.
parent 42c46dbd
2003-10-17 Sven Neumann <sven@gimp.org>
* app/widgets/gimpdnd.c (gimp_dnd_file_dest_add): according to an
older mail from Owen, GDK_ACTION_DEFAULT means nothing and should
not be used.
* app/widgets/gimpcontainertreeview-dnd.c
(gimp_container_tree_view_drop_status): pass 0 to gdk_drag_status()
instead of GDK_ACTION_DEFAULT.
2003-10-17 Sven Neumann <sven@gimp.org>
* app/widgets/gimpdnd.c (gimp_dnd_file_dest_add): for file drag
......@@ -114,7 +114,7 @@ gimp_container_tree_view_drop_status (GimpContainerTreeView *tree_view,
return TRUE;
}
gdk_drag_status (context, GDK_ACTION_DEFAULT, time);
gdk_drag_status (context, 0, time);
gtk_tree_path_free (path);
}
......
......@@ -815,17 +815,13 @@ gimp_dnd_file_dest_add (GtkWidget *widget,
gpointer data)
{
/* Set a default drag dest if not already done. Explicitely set
* DEFAULT, COPY and MOVE for file drag destinations. Some file
* managers such as Konqueror only offer MOVE by default.
* COPY and MOVE for file drag destinations. Some file managers
* such as Konqueror only offer MOVE by default.
*/
if (! g_object_get_data (G_OBJECT (widget), "gtk-drag-dest"))
gtk_drag_dest_set (widget,
GTK_DEST_DEFAULT_ALL, NULL, 0,
GDK_ACTION_DEFAULT | GDK_ACTION_COPY | GDK_ACTION_MOVE);
gtk_drag_dest_set (widget,
GTK_DEST_DEFAULT_ALL, NULL, 0,
GDK_ACTION_COPY | GDK_ACTION_MOVE);
GDK_ACTION_COPY | GDK_ACTION_MOVE);
gimp_dnd_data_dest_add (GIMP_DND_TYPE_NETSCAPE_URL, widget,
G_CALLBACK (set_file_func),
......
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