diff options
author | Christian Neumair <chris@gnome-de.org> | 2005-06-04 17:38:38 +0000 |
---|---|---|
committer | Christian Neumair <cneumair@src.gnome.org> | 2005-06-04 17:38:38 +0000 |
commit | ac48cdabe6cf40eb01d220c0858315e370ccbfab (patch) | |
tree | 5b018950f70ddc212fd2f4ab39eef065635f3026 /libnautilus-private | |
parent | feb3d9bef891f8da7ae79356547bb3531888d235 (diff) | |
download | nautilus-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.c | 4 |
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, |