[nautilus-actions: 1/3] An objet without any origin is considered as modified
- From: Pierre Wieser <pwieser src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus-actions: 1/3] An objet without any origin is considered as modified
- Date: Sun, 28 Feb 2010 20:51:26 +0000 (UTC)
commit 6c6f7da2523d08d7e5a3afa314d84110fff33f82
Author: Pierre Wieser <pwieser trychlos org>
Date: Sun Feb 28 00:28:00 2010 +0100
An objet without any origin is considered as modified
ChangeLog | 3 +++
src/core/na-iduplicable.c | 2 ++
2 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 3fa1a59..136e09c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2009-02-27 Pierre Wieser <pwieser trychlos org>
+ * src/core/na-iduplicable.c (na_iduplicable_check_status):
+ An object without any origin is considered modified.
+
* src/core/na-iduplicable.c (get_duplicable_str):
NAIDuplicable object defaults to not modified.
diff --git a/src/core/na-iduplicable.c b/src/core/na-iduplicable.c
index fcd566b..c8a0b5a 100644
--- a/src/core/na-iduplicable.c
+++ b/src/core/na-iduplicable.c
@@ -316,6 +316,8 @@ na_iduplicable_check_status( const NAIDuplicable *object )
if( str->origin ){
str->modified = !v_are_equal( str->origin, object );
+ } else {
+ str->modified = TRUE;
}
str->valid = v_is_valid( object );
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]