aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-02-13 00:59:27 +0800
committerChristian Persch <chpe@src.gnome.org>2004-02-13 00:59:27 +0800
commit45e52c4cdcf6c25815a211a7d48558cb72d0471a (patch)
treeaabfd1651b7093ac946e29c7bf99d9e75ce007d8
parentbbd519c4867de487e09f8ac5f838a2b150cb75a1 (diff)
downloadgsoc2013-epiphany-45e52c4cdcf6c25815a211a7d48558cb72d0471a.tar
gsoc2013-epiphany-45e52c4cdcf6c25815a211a7d48558cb72d0471a.tar.gz
gsoc2013-epiphany-45e52c4cdcf6c25815a211a7d48558cb72d0471a.tar.bz2
gsoc2013-epiphany-45e52c4cdcf6c25815a211a7d48558cb72d0471a.tar.lz
gsoc2013-epiphany-45e52c4cdcf6c25815a211a7d48558cb72d0471a.tar.xz
gsoc2013-epiphany-45e52c4cdcf6c25815a211a7d48558cb72d0471a.tar.zst
gsoc2013-epiphany-45e52c4cdcf6c25815a211a7d48558cb72d0471a.zip
2004-02-12 Christian Persch <chpe@cvs.gnome.org>
* lib/ephy-node-db.c: (ephy_node_db_write_to_xml_valist): * src/bookmarks/ephy-bookmarks-export.c: (ephy_bookmarks_export_rdf):
-rw-r--r--ChangeLog9
-rw-r--r--embed/mozilla/GlobalHistory.h5
-rw-r--r--lib/ephy-node-db.c6
-rw-r--r--src/bookmarks/ephy-bookmarks-export.c6
-rw-r--r--src/ephy-session.c6
5 files changed, 30 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 0c0809ccf..5b60da80e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
2004-02-12 Christian Persch <chpe@cvs.gnome.org>
+ * lib/ephy-node-db.c: (ephy_node_db_write_to_xml_valist):
+ * src/bookmarks/ephy-bookmarks-export.c:
+ (ephy_bookmarks_export_rdf):
+ * src/ephy-session.c: (ephy_session_save):
+
+ Re-enalble indentation.
+
+2004-02-12 Christian Persch <chpe@cvs.gnome.org>
+
* configure.in:
Depend on libxml2 >= 2.6.6 because of bug #133298 and bug # 131548.
diff --git a/embed/mozilla/GlobalHistory.h b/embed/mozilla/GlobalHistory.h
index 35e744b0f..ab3937afa 100644
--- a/embed/mozilla/GlobalHistory.h
+++ b/embed/mozilla/GlobalHistory.h
@@ -1,6 +1,7 @@
/*
- * Copyright (C) 2001, 204 Philip Langdale
- *
+ * Copyright (C) 2001, 2004 Philip Langdale
+ * Copyright (C) 2004 Christian Persch
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
diff --git a/lib/ephy-node-db.c b/lib/ephy-node-db.c
index d7e0d34bc..874b2a30a 100644
--- a/lib/ephy-node-db.c
+++ b/lib/ephy-node-db.c
@@ -413,6 +413,12 @@ ephy_node_db_write_to_xml_valist (EphyNodeDb *db,
return -1;
}
+ ret = xmlTextWriterSetIndent (writer, 1);
+ if (ret < 0) goto out;
+
+ ret = xmlTextWriterSetIndentString (writer, " ");
+ if (ret < 0) goto out;
+
ret = xmlTextWriterStartDocument (writer, "1.0", NULL, NULL);
if (ret < 0) goto out;
diff --git a/src/bookmarks/ephy-bookmarks-export.c b/src/bookmarks/ephy-bookmarks-export.c
index f035e8fbb..bd3b3db55 100644
--- a/src/bookmarks/ephy-bookmarks-export.c
+++ b/src/bookmarks/ephy-bookmarks-export.c
@@ -100,6 +100,12 @@ ephy_bookmarks_export_rdf (EphyBookmarks *bookmarks,
return;
}
+ ret = xmlTextWriterSetIndent (writer, 1);
+ if (ret < 0) goto out;
+
+ ret = xmlTextWriterSetIndentString (writer, " ");
+ if (ret < 0) goto out;
+
ret = xmlTextWriterStartDocument (writer, "1.0", NULL, NULL);
if (ret < 0) goto out;
diff --git a/src/ephy-session.c b/src/ephy-session.c
index b95754187..96aa5919a 100644
--- a/src/ephy-session.c
+++ b/src/ephy-session.c
@@ -524,6 +524,12 @@ ephy_session_save (EphySession *session,
return FALSE;
}
+ ret = xmlTextWriterSetIndent (writer, 1);
+ if (ret < 0) goto out;
+
+ ret = xmlTextWriterSetIndentString (writer, " ");
+ if (ret < 0) goto out;
+
START_PROFILER ("Saving session")
ret = xmlTextWriterStartDocument (writer, "1.0", NULL, NULL);