1999-02-03 Federico Mena Quintero <federico@nuclecu.unam.mx>

* gscreen.c (drop_types): Allow dropping URLs on file panels.
This commit is contained in:
Miguel de Icaza 1999-02-03 11:49:33 +00:00
parent 04c4abd818
commit 912d258e8a
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,7 @@
1999-02-03 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gscreen.c (drop_types): Allow dropping URLs on file panels.
* gdnd.c (gdnd_validate_action): Added an "on_desktop" argument;
this specifies that the user is dragging over the desktop. Added
cases for drags of desktop icons and URLs.

View File

@ -65,7 +65,8 @@ static GtkTargetEntry drag_types [] = {
};
static GtkTargetEntry drop_types [] = {
{ TARGET_URI_LIST_TYPE, 0, TARGET_URI_LIST }
{ TARGET_URI_LIST_TYPE, 0, TARGET_URI_LIST },
{ TARGET_URL_TYPE, 0, TARGET_URL }
};
#define ELEMENTS(x) (sizeof (x) / sizeof (x[0]))