From ef4b3ca77a3a71b5de606b96b18ff6620e8b16c5 Mon Sep 17 00:00:00 2001 From: Robert Manea Date: Wed, 6 May 2009 11:50:34 +0200 Subject: refactored status bar template symbol definition and setup --- uzbl.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'uzbl.h') diff --git a/uzbl.h b/uzbl.h index f424110..297a85d 100644 --- a/uzbl.h +++ b/uzbl.h @@ -1,3 +1,17 @@ +/* statusbar symbols */ +enum { SYM_TITLE, SYM_URI, SYM_NAME, SYM_LOADPRGS, SYM_LOADPRGSBAR}; +const struct { + gchar *symbol_name; + guint symbol_token; +} symbols[] = { + {"NAME", SYM_NAME}, + {"URI", SYM_URI}, + {"TITLE", SYM_TITLE}, + {"LOAD_PROGRESS", SYM_LOADPRGS}, + {"LOAD_PROGRESSBAR", SYM_LOADPRGSBAR}, + {NULL, 0} +}, *symp = symbols; + /* status bar elements */ typedef struct { gint load_progress; -- cgit v1.2.3