aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-completion-model.c
diff options
context:
space:
mode:
authorDiego Escalante Urrelo <diegoe@src.gnome.org>2009-01-16 06:06:55 +0800
committerDiego Escalante Urrelo <diegoe@src.gnome.org>2009-01-16 06:06:55 +0800
commit2fefd6be854823210b1f29462866656a92ae0331 (patch)
treee1ca7b590bb6cea2534f1cf193491749ce5b835d /src/ephy-completion-model.c
parent2d43e36cc1b900ef78412a1bbb7dbded55684a34 (diff)
downloadgsoc2013-epiphany-2fefd6be854823210b1f29462866656a92ae0331.tar
gsoc2013-epiphany-2fefd6be854823210b1f29462866656a92ae0331.tar.gz
gsoc2013-epiphany-2fefd6be854823210b1f29462866656a92ae0331.tar.bz2
gsoc2013-epiphany-2fefd6be854823210b1f29462866656a92ae0331.tar.lz
gsoc2013-epiphany-2fefd6be854823210b1f29462866656a92ae0331.tar.xz
gsoc2013-epiphany-2fefd6be854823210b1f29462866656a92ae0331.tar.zst
gsoc2013-epiphany-2fefd6be854823210b1f29462866656a92ae0331.zip
Turn the location bar into the woohoo bar
Enhance the completion popup by showing a two line cell containing the favicon, the title of the page and the url. On top of this, there's a bookmark indication patch. svn path=/trunk/; revision=8692
Diffstat (limited to 'src/ephy-completion-model.c')
-rw-r--r--src/ephy-completion-model.c19
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);