Add GDK_ACTION_MOVE to the drag actions to allow trash (#137717).

2008-05-25  Jan Arne Petersen  <jpetersen@jpetersen.org>

	* gtk/gtkfilechooserdefault.c: (create_file_list): Add GDK_ACTION_MOVE
	to the drag actions to allow trash (#137717).


svn path=/trunk/; revision=20150
This commit is contained in:
Jan Arne Petersen 2008-05-25 14:24:42 +00:00 committed by Jan Arne Petersen
parent d8f3119f30
commit 1d946af2f3
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
* gtk/gtkfilechooserdefault.c: (create_file_list): Add GDK_ACTION_MOVE
to the drag actions to allow trash (#137717).
2008-05-25 Josselin Mouette <joss@malsain.org>
reviewed by: Matthias Clasen

View File

@ -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);