From 44b494a6a37d2cf91356fb922a2cbab83f30a222 Mon Sep 17 00:00:00 2001 From: Thomas Leonard Date: Mon, 18 Mar 2002 14:50:43 +0000 Subject: [PATCH] r1325: Allow COMPOUND_TEXT target for pinboard and panels (allows pasting into gnome-terminal). --- ROX-Filer/Help/Changes | 2 ++ ROX-Filer/src/gui_support.c | 4 ++-- ROX-Filer/src/icon.c | 2 ++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ROX-Filer/Help/Changes b/ROX-Filer/Help/Changes index 85877345..ff1d80be 100644 --- a/ROX-Filer/Help/Changes +++ b/ROX-Filer/Help/Changes @@ -6,6 +6,8 @@ ~~~~~~~~~~~ Set _WIN_HINTS for pinboard and panel icons so that they don't appear on task-lists or get selected when Alt-Tabbing (Brendan McCarthy). +Allow COMPOUND_TEXT target for pinboard and panels (allows pasting into +gnome-terminal). 17-Mar-2002 ~~~~~~~~~~~ diff --git a/ROX-Filer/src/gui_support.c b/ROX-Filer/src/gui_support.c index 64429e18..9aec72f5 100644 --- a/ROX-Filer/src/gui_support.c +++ b/ROX-Filer/src/gui_support.c @@ -159,8 +159,8 @@ void set_cardinal_property(GdkWindow *window, GdkAtom prop, guint32 value) void make_panel_window(GtkWidget *widget) { static gboolean need_init = TRUE; - static GdkAtom xa_state, xa_atom, xa_net_state, xa_hints, xa_win_hints; - static GdkAtom state_list[3]; + static GdkAtom xa_state, xa_atom, xa_net_state, xa_hints, xa_win_hints; + static GdkAtom state_list[3]; GdkWindow *window = widget->window; gint32 values[2]; diff --git a/ROX-Filer/src/icon.c b/ROX-Filer/src/icon.c index 781ebb05..07c1d2d2 100644 --- a/ROX-Filer/src/icon.c +++ b/ROX-Filer/src/icon.c @@ -128,6 +128,8 @@ void icon_init(void) GtkTargetEntry target_table[] = { {"text/uri-list", 0, TARGET_URI_LIST}, + {"UTF8", 0, TARGET_STRING}, + {"COMPOUND_TEXT", 0, TARGET_STRING},/* XXX: Treats as STRING */ {"STRING", 0, TARGET_STRING}, }; -- 2.11.4.GIT