summaryrefslogtreecommitdiff
path: root/libnautilus-private
diff options
context:
space:
mode:
authorChristian Neumair <chris@gnome-de.org>2005-06-04 17:38:38 +0000
committerChristian Neumair <cneumair@src.gnome.org>2005-06-04 17:38:38 +0000
commitac48cdabe6cf40eb01d220c0858315e370ccbfab (patch)
tree5b018950f70ddc212fd2f4ab39eef065635f3026 /libnautilus-private
parentfeb3d9bef891f8da7ae79356547bb3531888d235 (diff)
downloadnautilus-ac48cdabe6cf40eb01d220c0858315e370ccbfab.tar.gz
Don't setup clipboard twice for the same editing widget.
2005-06-04 Christian Neumair <chris@gnome-de.org> * libnautilus-private/nautilus-clipboard.c: (nautilus_clipboard_real_set_up): Don't setup clipboard twice for the same editing widget.
Diffstat (limited to 'libnautilus-private')
-rw-r--r--libnautilus-private/nautilus-clipboard.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libnautilus-private/nautilus-clipboard.c b/libnautilus-private/nautilus-clipboard.c
index 5a28d0a1f..ddcc59b59 100644
--- a/libnautilus-private/nautilus-clipboard.c
+++ b/libnautilus-private/nautilus-clipboard.c
@@ -404,6 +404,10 @@ nautilus_clipboard_real_set_up (gpointer target,
{
TargetCallbackData *target_data;
+ if (g_object_get_data (G_OBJECT (target), "Nautilus:clipboard_target_data") != NULL) {
+ return;
+ }
+
target_data = initialize_clipboard_component_with_callback_data
(target,
ui_manager,