comparison src/dnd.c @ 316:2ebd0d9145cf

Define drag and drop target string in dnd.h. Make it use the current name of the application.
author zas_
date Fri, 11 Apr 2008 20:01:29 +0000
parents 9995c5fb202a
children 7a69309b91c8
comparison
equal deleted inserted replaced
315:d5a3bcc6a694 316:2ebd0d9145cf
24 { "text/plain", 0, TARGET_TEXT_PLAIN } 24 { "text/plain", 0, TARGET_TEXT_PLAIN }
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 { "application/x-gqview-collection-member", 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 }; 31 };
32 gint dnd_file_drop_types_count = 2; 32 gint dnd_file_drop_types_count = 2;
33 33
34 34