aboutsummaryrefslogtreecommitdiffstats
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
parent0e45b23b41142b62e046b0010a01b0dcf828f13a (diff)
downloadgsoc2013-epiphany-139bf0350e817adcb7c277a1d3c0b11ce6318744.tar.gz
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".
-rw-r--r--ChangeLog7
-rw-r--r--embed/ephy-history.c3
2 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 9e6deeb81..349968a86 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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;