mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-21 20:12:30 +00:00
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.
This commit is contained in:
parent
42c46dbd12
commit
33370866a2
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
|||
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,14 +815,10 @@ 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);
|
||||
|
|
Loading…
Reference in a new issue