aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-history.c
diff options
context:
space:
mode:
Diffstat (limited to 'embed/ephy-history.c')
-rw-r--r--embed/ephy-history.c3
1 files changed, 3 insertions, 0 deletions
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;