diff options
author | Xan Lopez <xan@src.gnome.org> | 2003-03-24 04:10:33 +0800 |
---|---|---|
committer | Xan Lopez <xan@src.gnome.org> | 2003-03-24 04:10:33 +0800 |
commit | 0e595f395732cc4c2e6a18dd460beb9335f81188 (patch) | |
tree | 1540cf39044fb24a113b399d008b4933503436ca /src/bookmarks/ephy-bookmarks.c | |
parent | 9e061fdc100ec5c71288049e4daffedd4253733d (diff) | |
download | gsoc2013-epiphany-0e595f395732cc4c2e6a18dd460beb9335f81188.tar gsoc2013-epiphany-0e595f395732cc4c2e6a18dd460beb9335f81188.tar.gz gsoc2013-epiphany-0e595f395732cc4c2e6a18dd460beb9335f81188.tar.bz2 gsoc2013-epiphany-0e595f395732cc4c2e6a18dd460beb9335f81188.tar.lz gsoc2013-epiphany-0e595f395732cc4c2e6a18dd460beb9335f81188.tar.xz gsoc2013-epiphany-0e595f395732cc4c2e6a18dd460beb9335f81188.tar.zst gsoc2013-epiphany-0e595f395732cc4c2e6a18dd460beb9335f81188.zip |
Some ground work on the PRIORITY property, change it from bool to int, add
Some ground work on the PRIORITY property, change it from
bool to int, add more priority types (ALL, SPECIAL, NORMAL),
and use it in the WEIGTH_TEXT property (just ALL is bold now).
Diffstat (limited to 'src/bookmarks/ephy-bookmarks.c')
-rw-r--r-- | src/bookmarks/ephy-bookmarks.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/bookmarks/ephy-bookmarks.c b/src/bookmarks/ephy-bookmarks.c index cb6a7edc2..5c4bd0694 100644 --- a/src/bookmarks/ephy-bookmarks.c +++ b/src/bookmarks/ephy-bookmarks.c @@ -21,6 +21,7 @@ #include "ephy-shell.h" #include "ephy-history.h" #include "ephy-debug.h" +#include "ephy-tree-model-node.h" #include <string.h> #include <libgnome/gnome-i18n.h> @@ -444,8 +445,8 @@ ephy_bookmarks_init (EphyBookmarks *eb) /* Keywords */ eb->priv->keywords = ephy_node_new_with_id (KEYWORDS_NODE_ID); ephy_node_ref (eb->priv->keywords); - g_value_init (&value, G_TYPE_BOOLEAN); - g_value_set_boolean (&value, TRUE); + g_value_init (&value, G_TYPE_INT); + g_value_set_int (&value, EPHY_TREE_MODEL_ALL_PRIORITY); ephy_node_set_property (eb->priv->bookmarks, EPHY_NODE_KEYWORD_PROP_ALL_PRIORITY, &value); |