aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-01-12 09:24:41 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-01-12 09:24:41 +0800
commitdcccb22acc252879837bb08a7f6eaaea91005860 (patch)
tree82895a801f6dfbb70ecbc07adfdce0327911f226 /lib
parent594097cc0181cfea7e8205448a7b6e315e311a36 (diff)
downloadgsoc2013-epiphany-dcccb22acc252879837bb08a7f6eaaea91005860.tar
gsoc2013-epiphany-dcccb22acc252879837bb08a7f6eaaea91005860.tar.gz
gsoc2013-epiphany-dcccb22acc252879837bb08a7f6eaaea91005860.tar.bz2
gsoc2013-epiphany-dcccb22acc252879837bb08a7f6eaaea91005860.tar.lz
gsoc2013-epiphany-dcccb22acc252879837bb08a7f6eaaea91005860.tar.xz
gsoc2013-epiphany-dcccb22acc252879837bb08a7f6eaaea91005860.tar.zst
gsoc2013-epiphany-dcccb22acc252879837bb08a7f6eaaea91005860.zip
Move root nodes ids to ephy-types. Simple logging facility:
2003-01-12 Marco Pesenti Gritti <marco@it.gnome.org> * configure.in: * embed/ephy-favicon-cache.c: (ephy_favicon_cache_download): * embed/ephy-history.c: * lib/Makefile.am: * lib/ephy-types.h: * src/bookmarks/ephy-bookmarks.c: * src/ephy-shell.c: (ephy_shell_init): Move root nodes ids to ephy-types. Simple logging facility: EPHY_DEBUG_MODULES= all | filename will enable it. Need to provide a way to disable it and to get rid of the old per file crap.
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile.am3
-rw-r--r--lib/ephy-types.h11
2 files changed, 13 insertions, 1 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 7648fe31c..d131235bb 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -21,6 +21,8 @@ libephy_la_SOURCES = \
ephy-autocompletion-source.h \
ephy-bonobo-extensions.h \
ephy-bonobo-extensions.c \
+ ephy-debug.c \
+ ephy-debug.h \
ephy-dialog.c \
ephy-dialog.h \
ephy-dnd.c \
@@ -53,7 +55,6 @@ libephy_la_SOURCES = \
ephy-stock-icons.h \
ephy-thread-helpers.c \
ephy-thread-helpers.h \
- ephy-types.h \
ephy-types.h
libephy_la_LIBADD = \
diff --git a/lib/ephy-types.h b/lib/ephy-types.h
index 70ce681e0..da27ceaaf 100644
--- a/lib/ephy-types.h
+++ b/lib/ephy-types.h
@@ -30,6 +30,17 @@ typedef enum
G_NOT_IMPLEMENTED
} gresult;
+/* Ids of the root nodes of history,
+ * bookmarks and favicon cache */
+enum
+{
+ BOOKMARKS_NODE_ID = 0,
+ KEYWORDS_NODE_ID = 1,
+ HOSTS_NODE_ID = 5,
+ PAGES_NODE_ID = 6,
+ ICONS_NODE_ID = 9,
+};
+
G_END_DECLS
#endif