From 1d946af2f3cbbf14e4ebd97a71dfe4b3816e1275 Mon Sep 17 00:00:00 2001 From: Jan Arne Petersen Date: Sun, 25 May 2008 14:24:42 +0000 Subject: [PATCH] Add GDK_ACTION_MOVE to the drag actions to allow trash (#137717). 2008-05-25 Jan Arne Petersen * gtk/gtkfilechooserdefault.c: (create_file_list): Add GDK_ACTION_MOVE to the drag actions to allow trash (#137717). svn path=/trunk/; revision=20150 --- ChangeLog | 5 +++++ gtk/gtkfilechooserdefault.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index da64fa1dbf..aebc390bdf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-05-25 Jan Arne Petersen + + * gtk/gtkfilechooserdefault.c: (create_file_list): Add GDK_ACTION_MOVE + to the drag actions to allow trash (#137717). + 2008-05-25 Josselin Mouette reviewed by: Matthias Clasen diff --git a/gtk/gtkfilechooserdefault.c b/gtk/gtkfilechooserdefault.c index 308cac669d..3436e07d6f 100644 --- a/gtk/gtkfilechooserdefault.c +++ b/gtk/gtkfilechooserdefault.c @@ -4700,7 +4700,7 @@ create_file_list (GtkFileChooserDefault *impl) GDK_BUTTON1_MASK, file_list_source_targets, num_file_list_source_targets, - GDK_ACTION_COPY); + GDK_ACTION_COPY | GDK_ACTION_MOVE); g_signal_connect (selection, "changed", G_CALLBACK (list_selection_changed), impl);