mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
bgo533891 - disallow DnD from the file list into itself
2008-05-27 Federico Mena Quintero <federico@novell.com> http://bugzilla.gnome.org/show_bug.cgi?id=533891 - Don't allow drag and drop from the file list into itself, as it doesn't make sense (it would just change the current folder). * gtk/gtkfilechooserdefault.c (file_list_dest_targets): Use GTK_TARGET_OTHER_WIDGET so we don't DnD from the file list into itself. Signed-off-by: Federico Mena Quintero <federico@novell.com> svn path=/trunk/; revision=20194
This commit is contained in:
parent
58cca43189
commit
4b1bba8af1
10
ChangeLog
10
ChangeLog
@ -1,3 +1,13 @@
|
||||
2008-05-27 Federico Mena Quintero <federico@novell.com>
|
||||
|
||||
http://bugzilla.gnome.org/show_bug.cgi?id=533891 - Don't allow
|
||||
drag and drop from the file list into itself, as it doesn't make
|
||||
sense (it would just change the current folder).
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (file_list_dest_targets): Use
|
||||
GTK_TARGET_OTHER_WIDGET so we don't DnD from the file list into
|
||||
itself.
|
||||
|
||||
2008-05-27 Michael Natterer <mitch@imendio.com>
|
||||
|
||||
* gtk/gtksignal.h: move deprecated guards around everything,
|
||||
|
@ -258,7 +258,7 @@ static const int num_file_list_source_targets = G_N_ELEMENTS (file_list_source_t
|
||||
|
||||
/* Target types for dropping into the file list */
|
||||
static const GtkTargetEntry file_list_dest_targets[] = {
|
||||
{ "text/uri-list", 0, TEXT_URI_LIST }
|
||||
{ "text/uri-list", GTK_TARGET_OTHER_WIDGET, TEXT_URI_LIST }
|
||||
};
|
||||
|
||||
static const int num_file_list_dest_targets = G_N_ELEMENTS (file_list_dest_targets);
|
||||
|
Loading…
Reference in New Issue
Block a user