diff options
author | Diego Escalante Urrelo <diegoe@src.gnome.org> | 2009-01-16 06:07:08 +0800 |
---|---|---|
committer | Diego Escalante Urrelo <diegoe@src.gnome.org> | 2009-01-16 06:07:08 +0800 |
commit | 5c4c64876f3f2b58809fd047abed1fba8265cfbf (patch) | |
tree | 89bee231e2f614abfd28b1d51f2021360cd461e3 /src/ephy-completion-model.c | |
parent | 2fefd6be854823210b1f29462866656a92ae0331 (diff) | |
download | gsoc2013-epiphany-5c4c64876f3f2b58809fd047abed1fba8265cfbf.tar.gz gsoc2013-epiphany-5c4c64876f3f2b58809fd047abed1fba8265cfbf.tar.zst gsoc2013-epiphany-5c4c64876f3f2b58809fd047abed1fba8265cfbf.zip |
Include a bookmark indication in the woohoo bar
If the result shown in the row is a bookmark, the epiphany bookmark icon will
be drawn to the right of it.
svn path=/trunk/; revision=8693
Diffstat (limited to 'src/ephy-completion-model.c')
-rw-r--r-- | src/ephy-completion-model.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ephy-completion-model.c b/src/ephy-completion-model.c index 52c1b53c7..77ef7a4f7 100644 --- a/src/ephy-completion-model.c +++ b/src/ephy-completion-model.c @@ -243,9 +243,11 @@ ephy_completion_model_get_column_type (GtkTreeModel *tree_model, case EPHY_COMPLETION_TEXT_COL: case EPHY_COMPLETION_ACTION_COL: case EPHY_COMPLETION_KEYWORDS_COL: - case EPHY_COMPLETION_EXTRA_COL: type = G_TYPE_STRING; break; + case EPHY_COMPLETION_EXTRA_COL: + type = G_TYPE_BOOLEAN; + break; case EPHY_COMPLETION_FAVICON_COL: type = GDK_TYPE_PIXBUF; break; @@ -456,10 +458,8 @@ ephy_completion_model_get_value (GtkTreeModel *tree_model, switch (column) { case EPHY_COMPLETION_EXTRA_COL: - g_value_init (value, G_TYPE_STRING); - g_value_set_string (value, - ephy_node_get_property_string - (node, EPHY_NODE_PAGE_PROP_LOCATION)); + g_value_init (value, G_TYPE_BOOLEAN); + g_value_set_boolean (value, (group == BOOKMARKS_GROUP)); break; case EPHY_COMPLETION_TEXT_COL: g_value_init (value, G_TYPE_STRING); |