From b0749c90570cf9ad796c02d0636fece080054008 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Sun, 22 Jun 2003 23:07:50 +0000 Subject: *** empty log message *** --- TODO | 2 -- embed/ephy-history.c | 9 ++------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/TODO b/TODO index bf40eca60..02e83ff0e 100644 --- a/TODO +++ b/TODO @@ -4,11 +4,9 @@ Bookmarks: - nautilus/libnautilus-private/nautilus-tree-view-drag-dest.c. Dest crashes. Others: -- if you change mozilla settings when ephy is not running, they arent updated in prefs.js - downloader should resize when clicking details, so that the cursor is not moved away from the button - make popups less annoying - show when bookmarks has updated content -- temporary bookmarks, maybe an expire checkbox in new bookmark dialog ? (I could be on crack here, would be nice to find a good solution though) Egg problems: - not translated diff --git a/embed/ephy-history.c b/embed/ephy-history.c index 13890b89a..097b70d5c 100644 --- a/embed/ephy-history.c +++ b/embed/ephy-history.c @@ -32,7 +32,7 @@ #include #include -#define EPHY_HISTORY_XML_VERSION "0.1" +#define EPHY_HISTORY_XML_VERSION "1.0" /* how often to save the history, in milliseconds */ #define HISTORY_SAVE_INTERVAL (60 * 5 * 1000) @@ -201,7 +201,6 @@ ephy_history_load (EphyHistory *eb) { xmlDocPtr doc; xmlNodePtr root, child; - char *tmp; if (g_file_test (eb->priv->xml_file, G_FILE_TEST_EXISTS) == FALSE) return; @@ -211,10 +210,6 @@ ephy_history_load (EphyHistory *eb) root = xmlDocGetRootElement (doc); - tmp = xmlGetProp (root, "version"); - g_assert (tmp != NULL && strcmp (tmp, EPHY_HISTORY_XML_VERSION) == 0); - g_free (tmp); - for (child = root->children; child != NULL; child = child->next) { EphyNode *node; @@ -419,7 +414,7 @@ ephy_history_init (EphyHistory *eb) eb->priv = g_new0 (EphyHistoryPrivate, 1); - db = ephy_node_db_new ("EphyHistory"); + db = ephy_node_db_new (EPHY_NODE_DB_HISTORY); eb->priv->db = db; eb->priv->xml_file = g_build_filename (ephy_dot_dir (), -- cgit v1.2.3