aboutsummaryrefslogtreecommitdiffstats
path: root/src/bookmarks/ephy-tree-model-node.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-03-25 04:56:19 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-03-25 04:56:19 +0800
commit5edfc6d1d2c7ba42be2463c1609b8c1482e32799 (patch)
tree74388ceb578125708c7e76af034e58e2de381206 /src/bookmarks/ephy-tree-model-node.c
parent53a85cd93b24a7fd98a7ae205fd9e20a4d54e71a (diff)
downloadgsoc2013-epiphany-5edfc6d1d2c7ba42be2463c1609b8c1482e32799.tar
gsoc2013-epiphany-5edfc6d1d2c7ba42be2463c1609b8c1482e32799.tar.gz
gsoc2013-epiphany-5edfc6d1d2c7ba42be2463c1609b8c1482e32799.tar.bz2
gsoc2013-epiphany-5edfc6d1d2c7ba42be2463c1609b8c1482e32799.tar.lz
gsoc2013-epiphany-5edfc6d1d2c7ba42be2463c1609b8c1482e32799.tar.xz
gsoc2013-epiphany-5edfc6d1d2c7ba42be2463c1609b8c1482e32799.tar.zst
gsoc2013-epiphany-5edfc6d1d2c7ba42be2463c1609b8c1482e32799.zip
Dont put special keywords in the topics list. Use ephy-state for size of
2003-03-24 Marco Pesenti Gritti <marco@it.gnome.org> * src/bookmarks/ephy-bookmark-properties.c: (build_ui): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_construct): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_init): * src/bookmarks/ephy-bookmarks.h: * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_construct): * src/bookmarks/ephy-topics-selector.c: (fill_model): * src/bookmarks/ephy-tree-model-node.c: (ephy_tree_model_node_get_value): * src/bookmarks/ephy-tree-model-node.h: Dont put special keywords in the topics list. Use ephy-state for size of all bookmarks dialogs.
Diffstat (limited to 'src/bookmarks/ephy-tree-model-node.c')
-rw-r--r--src/bookmarks/ephy-tree-model-node.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/bookmarks/ephy-tree-model-node.c b/src/bookmarks/ephy-tree-model-node.c
index f1a6fe758..2cde33400 100644
--- a/src/bookmarks/ephy-tree-model-node.c
+++ b/src/bookmarks/ephy-tree-model-node.c
@@ -511,8 +511,8 @@ ephy_tree_model_node_get_value (GtkTreeModel *tree_model,
case EPHY_TREE_MODEL_NODE_COL_TITLE_WEIGHT:
g_value_init (value, G_TYPE_INT);
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)
+ if (priority == EPHY_BOOKMARKS_KEYWORD_ALL_PRIORITY ||
+ priority == EPHY_BOOKMARKS_KEYWORD_SPECIAL_PRIORITY)
g_value_set_int (value, PANGO_WEIGHT_BOLD);
else
g_value_set_int (value, PANGO_WEIGHT_NORMAL);
@@ -520,11 +520,11 @@ ephy_tree_model_node_get_value (GtkTreeModel *tree_model,
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_PRIORITY);
- if (priority == EPHY_TREE_MODEL_ALL_PRIORITY ||
- priority == EPHY_TREE_MODEL_SPECIAL_PRIORITY)
+ if (priority == EPHY_BOOKMARKS_KEYWORD_ALL_PRIORITY ||
+ priority == EPHY_BOOKMARKS_KEYWORD_SPECIAL_PRIORITY)
g_value_set_int (value, priority);
else
- g_value_set_int (value, EPHY_TREE_MODEL_NORMAL_PRIORITY);
+ g_value_set_int (value, EPHY_BOOKMARKS_KEYWORD_NORMAL_PRIORITY);
break;
default:
g_assert_not_reached ();