From afb43e43599602fba8c1b9178d17c1a8a14867e1 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Mon, 13 Jan 2003 19:01:47 +0000 Subject: Use the title also for hosts in history. Cleanup hosts matching code a 2003-01-13 Marco Pesenti Gritti * embed/ephy-history.c: (ephy_history_save), (hosts_added_cb), (hosts_removed_cb), (ephy_history_finalize), (ephy_history_host_set_title), (ephy_history_host_visited), (ephy_history_add_host), (ephy_history_visited), (ephy_history_add_page), (ephy_history_set_page_title): * src/ephy-history-model.c: (ephy_history_model_get_value): * src/ephy-shell.c: (ephy_shell_get_autocompletion): Use the title also for hosts in history. Cleanup hosts matching code a lot. --- src/ephy-history-model.c | 3 +-- src/ephy-shell.c | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/ephy-history-model.c b/src/ephy-history-model.c index baa948a7d..6c5f5e787 100644 --- a/src/ephy-history-model.c +++ b/src/ephy-history-model.c @@ -559,8 +559,7 @@ ephy_history_model_get_value (GtkTreeModel *tree_model, node = EPHY_NODE (iter->user_data); if (ephy_node_get_property_int (node, EPHY_NODE_PAGE_PROP_HOST_ID) < 0 && - (column == EPHY_HISTORY_MODEL_COL_LOCATION || - column == EPHY_HISTORY_MODEL_COL_FIRST_VISIT || + (column == EPHY_HISTORY_MODEL_COL_FIRST_VISIT || column == EPHY_HISTORY_MODEL_COL_LAST_VISIT || column == EPHY_HISTORY_MODEL_COL_VISITS)) { diff --git a/src/ephy-shell.c b/src/ephy-shell.c index 86543d082..36828646f 100644 --- a/src/ephy-shell.c +++ b/src/ephy-shell.c @@ -520,6 +520,7 @@ ephy_shell_get_autocompletion (EphyShell *gs) ephy_autocompletion_add_source (p->autocompletion, EPHY_AUTOCOMPLETION_SOURCE (gs->priv->bookmarks)); + g_object_unref (gh); g_object_unref (fa); g_object_unref (gs->priv->bookmarks); } -- cgit