aboutsummaryrefslogtreecommitdiffstats
path: root/src/bookmarks/ephy-tree-model-node.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bookmarks/ephy-tree-model-node.c')
-rw-r--r--src/bookmarks/ephy-tree-model-node.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/bookmarks/ephy-tree-model-node.c b/src/bookmarks/ephy-tree-model-node.c
index bf8e0570c..f1a6fe758 100644
--- a/src/bookmarks/ephy-tree-model-node.c
+++ b/src/bookmarks/ephy-tree-model-node.c
@@ -510,15 +510,16 @@ ephy_tree_model_node_get_value (GtkTreeModel *tree_model,
break;
case EPHY_TREE_MODEL_NODE_COL_TITLE_WEIGHT:
g_value_init (value, G_TYPE_INT);
- /* Only priority ALL (0) has bold text */
- if (ephy_node_get_property_int (node, EPHY_NODE_KEYWORD_PROP_ALL_PRIORITY))
- g_value_set_int (value, PANGO_WEIGHT_NORMAL);
- else
+ priority = ephy_node_get_property_int (node, EPHY_NODE_KEYWORD_PROP_PRIORITY);
+ if (priority == EPHY_TREE_MODEL_ALL_PRIORITY ||
+ priority == EPHY_TREE_MODEL_SPECIAL_PRIORITY)
g_value_set_int (value, PANGO_WEIGHT_BOLD);
+ else
+ g_value_set_int (value, PANGO_WEIGHT_NORMAL);
break;
case EPHY_TREE_MODEL_NODE_COL_PRIORITY:
g_value_init (value, G_TYPE_INT);
- priority = ephy_node_get_property_int (node, EPHY_NODE_KEYWORD_PROP_ALL_PRIORITY);
+ priority = ephy_node_get_property_int (node, EPHY_NODE_KEYWORD_PROP_PRIORITY);
if (priority == EPHY_TREE_MODEL_ALL_PRIORITY ||
priority == EPHY_TREE_MODEL_SPECIAL_PRIORITY)
g_value_set_int (value, priority);