diff options
Diffstat (limited to 'src/ephy-completion-model.c')
-rw-r--r-- | src/ephy-completion-model.c | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/src/ephy-completion-model.c b/src/ephy-completion-model.c index 72ba6494e..52c1b53c7 100644 --- a/src/ephy-completion-model.c +++ b/src/ephy-completion-model.c @@ -265,12 +265,9 @@ init_text_col (GValue *value, EphyNode *node, int group) switch (group) { case BOOKMARKS_GROUP: - text = ephy_node_get_property_string - (node, EPHY_NODE_BMK_PROP_TITLE); - break; case HISTORY_GROUP: text = ephy_node_get_property_string - (node, EPHY_NODE_PAGE_PROP_LOCATION); + (node, EPHY_NODE_PAGE_PROP_TITLE); break; default: @@ -460,17 +457,9 @@ ephy_completion_model_get_value (GtkTreeModel *tree_model, { case EPHY_COMPLETION_EXTRA_COL: g_value_init (value, G_TYPE_STRING); - /* We set an additional text for the item title only for - * history, since we assume that people know the url of - * their bookmarks - */ - if (group == HISTORY_GROUP) - { - const char *text; - text = ephy_node_get_property_string - (node, EPHY_NODE_PAGE_PROP_TITLE); - g_value_set_string (value, text); - } + g_value_set_string (value, + ephy_node_get_property_string + (node, EPHY_NODE_PAGE_PROP_LOCATION)); break; case EPHY_COMPLETION_TEXT_COL: g_value_init (value, G_TYPE_STRING); |