aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-01-14 03:01:47 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-01-14 03:01:47 +0800
commitafb43e43599602fba8c1b9178d17c1a8a14867e1 (patch)
tree5eced0804590fb82c67a9b783e2095d9ebd3f065 /src
parent9ff4f5f92f9db92f4b420430d6368feabc26490b (diff)
downloadgsoc2013-epiphany-afb43e43599602fba8c1b9178d17c1a8a14867e1.tar
gsoc2013-epiphany-afb43e43599602fba8c1b9178d17c1a8a14867e1.tar.gz
gsoc2013-epiphany-afb43e43599602fba8c1b9178d17c1a8a14867e1.tar.bz2
gsoc2013-epiphany-afb43e43599602fba8c1b9178d17c1a8a14867e1.tar.lz
gsoc2013-epiphany-afb43e43599602fba8c1b9178d17c1a8a14867e1.tar.xz
gsoc2013-epiphany-afb43e43599602fba8c1b9178d17c1a8a14867e1.tar.zst
gsoc2013-epiphany-afb43e43599602fba8c1b9178d17c1a8a14867e1.zip
Use the title also for hosts in history. Cleanup hosts matching code a
2003-01-13 Marco Pesenti Gritti <marco@it.gnome.org> * 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.
Diffstat (limited to 'src')
-rw-r--r--src/ephy-history-model.c3
-rw-r--r--src/ephy-shell.c1
2 files changed, 2 insertions, 2 deletions
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);
}