aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-01-13 03:34:47 +0800
committerChristian Persch <chpe@src.gnome.org>2004-01-13 03:34:47 +0800
commit139bf0350e817adcb7c277a1d3c0b11ce6318744 (patch)
tree939bac15670e7c51befbfda3989d3478b88456da /embed
parent0e45b23b41142b62e046b0010a01b0dcf828f13a (diff)
downloadgsoc2013-epiphany-139bf0350e817adcb7c277a1d3c0b11ce6318744.tar
gsoc2013-epiphany-139bf0350e817adcb7c277a1d3c0b11ce6318744.tar.gz
gsoc2013-epiphany-139bf0350e817adcb7c277a1d3c0b11ce6318744.tar.bz2
gsoc2013-epiphany-139bf0350e817adcb7c277a1d3c0b11ce6318744.tar.lz
gsoc2013-epiphany-139bf0350e817adcb7c277a1d3c0b11ce6318744.tar.xz
gsoc2013-epiphany-139bf0350e817adcb7c277a1d3c0b11ce6318744.tar.zst
gsoc2013-epiphany-139bf0350e817adcb7c277a1d3c0b11ce6318744.zip
Default history to "enabled".
2004-01-12 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-history.c: (ephy_history_set_enabled), (ephy_history_init): Default history to "enabled".
Diffstat (limited to 'embed')
-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;