Mercurial > geeqie
diff src/dnd.c @ 1202:8bf3fff49ddd
Allow to drag keywords on files in list or icon view. Dragged text is appended to keywords list of the destination file.
author | zas_ |
---|---|
date | Mon, 15 Dec 2008 18:04:42 +0000 |
parents | 1646720364cf |
children | 8b89e3ff286b |
line wrap: on
line diff
--- a/src/dnd.c Tue Dec 09 19:12:38 2008 +0000 +++ b/src/dnd.c Mon Dec 15 18:04:42 2008 +0000 @@ -27,9 +27,10 @@ GtkTargetEntry dnd_file_drop_types[] = { { TARGET_APP_COLLECTION_MEMBER_STRING, 0, TARGET_APP_COLLECTION_MEMBER }, - { "text/uri-list", 0, TARGET_URI_LIST } + { "text/uri-list", 0, TARGET_URI_LIST }, + { "text/plain", 0, TARGET_TEXT_PLAIN }, }; -gint dnd_file_drop_types_count = 2; +gint dnd_file_drop_types_count = 3; #define DND_ICON_SIZE (options->dnd_icon_size)