mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
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:
parent
04c4abd818
commit
912d258e8a
@ -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.
|
||||
|
@ -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]))
|
||||
|
Loading…
Reference in New Issue
Block a user