diff src/collect-table.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 b16b9b8979e5
line wrap: on
line diff
--- a/src/collect-table.c	Fri Apr 11 19:43:36 2008 +0000
+++ b/src/collect-table.c	Fri Apr 11 20:01:29 2008 +0000
@@ -1984,14 +1984,14 @@
  */
 
 static GtkTargetEntry collection_drag_types[] = {
-	{ "application/x-gqview-collection-member", 0, TARGET_APP_COLLECTION_MEMBER },
+	{ TARGET_APP_COLLECTION_MEMBER_STRING, 0, TARGET_APP_COLLECTION_MEMBER },
 	{ "text/uri-list", 0, TARGET_URI_LIST },
 	{ "text/plain", 0, TARGET_TEXT_PLAIN }
 };
 static gint n_collection_drag_types = 3;
 
 static GtkTargetEntry collection_drop_types[] = {
-	{ "application/x-gqview-collection-member", 0, TARGET_APP_COLLECTION_MEMBER },
+	{ TARGET_APP_COLLECTION_MEMBER_STRING, 0, TARGET_APP_COLLECTION_MEMBER },
 	{ "text/uri-list", 0, TARGET_URI_LIST }
 };
 static gint n_collection_drop_types = 2;