[nautilus-actions] Set data provider to NULL when duplicating a desktop file item
- From: Pierre Wieser <pwieser src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus-actions] Set data provider to NULL when duplicating a desktop file item
- Date: Thu, 30 Dec 2010 10:25:45 +0000 (UTC)
commit 913e9e966a23ea27d4bcfd6d19d9d6290f01d3b2
Author: Pierre Wieser <pwieser trychlos org>
Date: Thu Dec 30 11:24:56 2010 +0100
Set data provider to NULL when duplicating a desktop file item
ChangeLog | 5 +++++
src/core/na-object-id.c | 1 +
2 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 6109818..6fb7380 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-12-30 Pierre Wieser <pwieser trychlos org>
+
+ * src/core/na-object-id.c (na_object_id_prepare_for_paste):
+ Set data provider to NULL when duplicating a desktop file item.
+
2010-12-29 Pierre Wieser <pwieser trychlos org>
* src/core/na-selected-info.c:
diff --git a/src/core/na-object-id.c b/src/core/na-object-id.c
index 58cc619..f2fcff6 100644
--- a/src/core/na-object-id.c
+++ b/src/core/na-object-id.c
@@ -333,6 +333,7 @@ na_object_id_prepare_for_paste( NAObjectId *object, gboolean relabel, gboolean r
na_object_set_copy_of_label( object );
}
na_object_set_provider( object, NULL );
+ na_object_set_provider_data( object, NULL );
na_object_set_readonly( object, FALSE );
}
if( NA_IS_OBJECT_MENU( object )){
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]