diff options
author | Marco Pesenti Gritti <marco@it.gnome.org> | 2003-04-17 20:59:52 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-04-17 20:59:52 +0800 |
commit | 609b92cfa632385313d1d2421b516bdb41fdbf00 (patch) | |
tree | 09fc963d624f5723fc75551eb125b3d7d825f795 /src/bookmarks/ephy-bookmarks.c | |
parent | 9e94d5208ee7d936c6d3595435b9364fec5850dd (diff) | |
download | gsoc2013-epiphany-609b92cfa632385313d1d2421b516bdb41fdbf00.tar gsoc2013-epiphany-609b92cfa632385313d1d2421b516bdb41fdbf00.tar.gz gsoc2013-epiphany-609b92cfa632385313d1d2421b516bdb41fdbf00.tar.bz2 gsoc2013-epiphany-609b92cfa632385313d1d2421b516bdb41fdbf00.tar.lz gsoc2013-epiphany-609b92cfa632385313d1d2421b516bdb41fdbf00.tar.xz gsoc2013-epiphany-609b92cfa632385313d1d2421b516bdb41fdbf00.tar.zst gsoc2013-epiphany-609b92cfa632385313d1d2421b516bdb41fdbf00.zip |
New abstracted implementations. Nicer and will be useful for history
2003-04-17 Marco Pesenti Gritti <marco@it.gnome.org>
* lib/widgets/Makefile.am:
* lib/widgets/ephy-node-view.c:
* lib/widgets/ephy-node-view.h:
* lib/widgets/ephy-tree-model-node.c:
* lib/widgets/ephy-tree-model-node.h:
New abstracted implementations.
Nicer and will be useful for
history dialog interface rehash to make
it more consistent with bookmarks (this
was the hard part of the work).
* src/bookmarks/Makefile.am:
* src/bookmarks/ephy-bookmarks-editor.c:
Use them.
* src/history-dialog.c:
Temp hack to keep the thing building until
I actually rewrite history dialog.
2
Diffstat (limited to 'src/bookmarks/ephy-bookmarks.c')
-rw-r--r-- | src/bookmarks/ephy-bookmarks.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/bookmarks/ephy-bookmarks.c b/src/bookmarks/ephy-bookmarks.c index 1962ae3be..955a7ef35 100644 --- a/src/bookmarks/ephy-bookmarks.c +++ b/src/bookmarks/ephy-bookmarks.c @@ -22,6 +22,7 @@ #include "ephy-history.h" #include "ephy-debug.h" #include "ephy-tree-model-node.h" +#include "ephy-node-view.h" #include <string.h> #include <libgnome/gnome-i18n.h> @@ -506,10 +507,10 @@ ephy_bookmarks_init (EphyBookmarks *eb) eb->priv->keywords = ephy_node_new_with_id (KEYWORDS_NODE_ID); ephy_node_ref (eb->priv->keywords); g_value_init (&value, G_TYPE_INT); - g_value_set_int (&value, EPHY_BOOKMARKS_KEYWORD_ALL_PRIORITY); + g_value_set_int (&value, EPHY_NODE_VIEW_ALL_PRIORITY); ephy_node_set_property (eb->priv->bookmarks, - EPHY_NODE_KEYWORD_PROP_PRIORITY, - &value); + EPHY_NODE_KEYWORD_PROP_PRIORITY, + &value); g_value_unset (&value); g_signal_connect_object (G_OBJECT (eb->priv->keywords), "child_removed", @@ -530,7 +531,7 @@ ephy_bookmarks_init (EphyBookmarks *eb) &value); g_value_unset (&value); g_value_init (&value, G_TYPE_INT); - g_value_set_int (&value, EPHY_BOOKMARKS_KEYWORD_SPECIAL_PRIORITY); + g_value_set_int (&value, EPHY_NODE_VIEW_SPECIAL_PRIORITY); ephy_node_set_property (eb->priv->favorites, EPHY_NODE_KEYWORD_PROP_PRIORITY, &value); @@ -547,7 +548,7 @@ ephy_bookmarks_init (EphyBookmarks *eb) &value); g_value_unset (&value); g_value_init (&value, G_TYPE_INT); - g_value_set_int (&value, EPHY_BOOKMARKS_KEYWORD_SPECIAL_PRIORITY); + g_value_set_int (&value, EPHY_NODE_VIEW_SPECIAL_PRIORITY); ephy_node_set_property (eb->priv->notcategorized, EPHY_NODE_KEYWORD_PROP_PRIORITY, &value); @@ -856,7 +857,7 @@ ephy_bookmarks_add_keyword (EphyBookmarks *eb, g_value_unset (&value); g_value_init (&value, G_TYPE_INT); - g_value_set_int (&value, EPHY_BOOKMARKS_KEYWORD_NORMAL_PRIORITY); + g_value_set_int (&value, EPHY_NODE_VIEW_NORMAL_PRIORITY); ephy_node_set_property (key, EPHY_NODE_KEYWORD_PROP_PRIORITY, &value); g_value_unset (&value); |