[nautilus-actions] Fix modification status at startup



commit afced6403fd33a3a9d023f861322aa1306fb06ed
Author: Pierre Wieser <pwieser trychlos org>
Date:   Sun Feb 28 00:18:06 2010 +0100

    Fix modification status at startup

 ChangeLog                         |    7 +++++++
 src/core/na-iduplicable.c         |    2 +-
 src/core/na-object-item-factory.c |    2 +-
 3 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 975e7f4..3fa1a59 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2009-02-27 Pierre Wieser <pwieser trychlos org>
 
+	* src/core/na-iduplicable.c (get_duplicable_str):
+	NAIDuplicable object defaults to not modified.
+
+	* src/core/na-object-item-factory.c:
+	Pointers to list of subitems are not comparable.
+
+	Rewrite the update of the pivot tree where there is a non null origin.
 	* src/core/na-updater.c:
 	* src/core/na-updater.h
 	(na_updater_add_item): Removed function.
diff --git a/src/core/na-iduplicable.c b/src/core/na-iduplicable.c
index 64cd668..fcd566b 100644
--- a/src/core/na-iduplicable.c
+++ b/src/core/na-iduplicable.c
@@ -577,7 +577,7 @@ get_duplicable_str( const NAIDuplicable *object )
 		str = g_new0( DuplicableStr, 1 );
 
 		str->origin = NULL;
-		str->modified = TRUE;
+		str->modified = FALSE;
 		str->valid = TRUE;
 
 		str->status_changed_handler_id = g_signal_connect(
diff --git a/src/core/na-object-item-factory.c b/src/core/na-object-item-factory.c
index e6ce891..aac705b 100644
--- a/src/core/na-object-item-factory.c
+++ b/src/core/na-object-item-factory.c
@@ -100,7 +100,7 @@ NADataDef data_def_item [] = {
 				NAFD_TYPE_POINTER,
 				NULL,
 				FALSE,			/* not copyable */
-				TRUE,			/*     comparable */
+				FALSE,			/*     comparable */
 				FALSE,
 				FALSE,
 				NULL,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]