comparison 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
comparison
equal deleted inserted replaced
1201:c55a935b5e36 1202:8bf3fff49ddd
25 }; 25 };
26 gint dnd_file_drag_types_count = 2; 26 gint dnd_file_drag_types_count = 2;
27 27
28 GtkTargetEntry dnd_file_drop_types[] = { 28 GtkTargetEntry dnd_file_drop_types[] = {
29 { TARGET_APP_COLLECTION_MEMBER_STRING, 0, TARGET_APP_COLLECTION_MEMBER }, 29 { TARGET_APP_COLLECTION_MEMBER_STRING, 0, TARGET_APP_COLLECTION_MEMBER },
30 { "text/uri-list", 0, TARGET_URI_LIST } 30 { "text/uri-list", 0, TARGET_URI_LIST },
31 { "text/plain", 0, TARGET_TEXT_PLAIN },
31 }; 32 };
32 gint dnd_file_drop_types_count = 2; 33 gint dnd_file_drop_types_count = 3;
33 34
34 35
35 #define DND_ICON_SIZE (options->dnd_icon_size) 36 #define DND_ICON_SIZE (options->dnd_icon_size)
36 37
37 38