From b8ef5c6ad6198c473254c0095ede3b6fe8cddc8e Mon Sep 17 00:00:00 2001 From: Thomas Leonard Date: Mon, 21 Jan 2002 17:03:51 +0000 Subject: [PATCH] r1111: Allow COMPOUND_TEXT selection type (same as STRING for now), as gnome-terminal has stopped accepting STRING. --- ROX-Filer/Help/Changes | 2 ++ ROX-Filer/Help/TODO | 2 -- ROX-Filer/src/filer.c | 1 + ROX-Filer/src/infobox.c | 5 ++++- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ROX-Filer/Help/Changes b/ROX-Filer/Help/Changes index 10558da2..6119237f 100644 --- a/ROX-Filer/Help/Changes +++ b/ROX-Filer/Help/Changes @@ -6,6 +6,8 @@ ~~~~~~~~~~~ Changing the permission on a file failed to update the display (reported by Karol Krenski). Also made other updates more efficient. +Allow COMPOUND_TEXT selection type (same as STRING for now), as gnome-terminal +has stopped accepting STRING. 19-Jan-2001 ~~~~~~~~~~~ diff --git a/ROX-Filer/Help/TODO b/ROX-Filer/Help/TODO index 9d12c946..50302eae 100644 --- a/ROX-Filer/Help/TODO +++ b/ROX-Filer/Help/TODO @@ -7,8 +7,6 @@ when someone sends patches!). BUGS -Can't paste into gnome-terminal anymore! - Using spring-opening with a missing directory has grab problems. Loading a thumbnail should store the details when loading started, not diff --git a/ROX-Filer/src/filer.c b/ROX-Filer/src/filer.c index 74319b09..8ae28e90 100644 --- a/ROX-Filer/src/filer.c +++ b/ROX-Filer/src/filer.c @@ -1565,6 +1565,7 @@ static void filer_add_signals(FilerWindow *filer_window) { {"text/uri-list", 0, TARGET_URI_LIST}, {"STRING", 0, TARGET_STRING}, + {"COMPOUND_TEXT", 0, TARGET_STRING},/* XXX: Treats as STRING */ }; /* Events on the top-level window */ diff --git a/ROX-Filer/src/infobox.c b/ROX-Filer/src/infobox.c index e99c4a4b..519713bf 100644 --- a/ROX-Filer/src/infobox.c +++ b/ROX-Filer/src/infobox.c @@ -231,7 +231,10 @@ static GtkWidget *make_clist(guchar *path, DirItem *item, xmlNode *about) struct stat info; char *data[] = {NULL, NULL, NULL}; xmlNode *prop; - GtkTargetEntry target_table[] = { {"STRING", 0, 0} }; + GtkTargetEntry target_table[] = { + {"STRING", 0, 0}, + {"COMPOUND_TEXT", 0, 0}, /* XXX: Treats as STRING */ + }; table = GTK_CLIST(gtk_clist_new(2)); GTK_WIDGET_UNSET_FLAGS(GTK_WIDGET(table), GTK_CAN_FOCUS); -- 2.11.4.GIT