aboutsummaryrefslogtreecommitdiffhomepage
path: root/uzbl.h
diff options
context:
space:
mode:
authorGravatar Robert Manea <gotmor@gmail.com>2009-05-06 11:50:34 +0200
committerGravatar Robert Manea <gotmor@gmail.com>2009-05-06 11:50:34 +0200
commitef4b3ca77a3a71b5de606b96b18ff6620e8b16c5 (patch)
tree669592448908c540fac59d6fb02239d4aa931ad4 /uzbl.h
parentf93198c60aa3495b71a3fb493c94b7b2156fa0d5 (diff)
refactored status bar template symbol definition and setup
Diffstat (limited to 'uzbl.h')
-rw-r--r--uzbl.h14
1 files changed, 14 insertions, 0 deletions
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;