[monkey-bubble: 417/753] We now preserve the order of all entries when saving the file back.



commit 23ba3b6a3ee930bda0fab8bdb85126729af57cc1
Author: Martin Baulig <baulig suse de>
Date:   Sun Jun 10 13:53:37 2001 +0000

    We now preserve the order of all entries when saving the file back.
    
    2001-06-10  Martin Baulig  <baulig suse de>
    
    	* bonobo-config-ditem.c, bonobo-config-ditem-utils.c: We now
    	preserve the order of all entries when saving the file back.
    	Actually, the first save of a files saves it in some kind of
    	a "canonical" format and sort order which will be preserved by
    	all subsequent saves.
    
    	* bonobo-config-ditem.h (Directory, Section): New types.
    
    	* bonobo-config-ditem.c (TSecHeader): Removed.

 monikers/ChangeLog    |   12 ++++++++++++
 monikers/test-ditem.c |    2 +-
 2 files changed, 13 insertions(+), 1 deletions(-)
---
diff --git a/monikers/ChangeLog b/monikers/ChangeLog
index 9efc0fb..c53dd48 100644
--- a/monikers/ChangeLog
+++ b/monikers/ChangeLog
@@ -1,5 +1,17 @@
 2001-06-10  Martin Baulig  <baulig suse de>
 
+	* bonobo-config-ditem.c, bonobo-config-ditem-utils.c: We now
+	preserve the order of all entries when saving the file back.
+	Actually, the first save of a files saves it in some kind of
+	a "canonical" format and sort order which will be preserved by
+	all subsequent saves.
+
+	* bonobo-config-ditem.h (Directory, Section): New types.
+
+	* bonobo-config-ditem.c (TSecHeader): Removed.
+
+2001-06-10  Martin Baulig  <baulig suse de>
+
 	* bonobo-config-ditem.c (real_set_value): Implemented.
 
 	* bonobo-config-ditem-utils.c (bonobo_config_ditem_encode_any):
diff --git a/monikers/test-ditem.c b/monikers/test-ditem.c
index 0511dfd..b181f19 100644
--- a/monikers/test-ditem.c
+++ b/monikers/test-ditem.c
@@ -74,7 +74,7 @@ test_ditem (Bonobo_ConfigDatabase db)
 		g_print ("ATTRIBUTE: |%s|\n", attr);
 	}
 
-#if 0
+#if 1
 	gnome_desktop_item_set_name (ditem, "de", "Neu gesetzt!");
 
 	gnome_desktop_item_save (ditem, NULL);



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