diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | embed/ephy-history.c | 3 |
2 files changed, 10 insertions, 0 deletions
@@ -1,5 +1,12 @@ 2004-01-12 Christian Persch <chpe@cvs.gnome.org> + * embed/ephy-history.c: (ephy_history_set_enabled), + (ephy_history_init): + + Default history to "enabled". + +2004-01-12 Christian Persch <chpe@cvs.gnome.org> + * embed/mozilla/EventContext.h: * src/ephy-tab.c: (address_has_web_scheme): diff --git a/embed/ephy-history.c b/embed/ephy-history.c index aa931c03f..ab6fcd5e1 100644 --- a/embed/ephy-history.c +++ b/embed/ephy-history.c @@ -117,6 +117,8 @@ ephy_history_set_enabled (EphyHistory *history, { LOG ("ephy_history_set_enabled %d", enabled) + history->priv->enabled = enabled; + ephy_node_db_set_immutable (history->priv->db, !enabled); if (enabled == FALSE) @@ -462,6 +464,7 @@ ephy_history_init (EphyHistory *eb) eb->priv = EPHY_HISTORY_GET_PRIVATE (eb); eb->priv->update_hosts_idle = 0; + eb->priv->enabled = TRUE; db = ephy_node_db_new (EPHY_NODE_DB_HISTORY); eb->priv->db = db; |