diff options
author | Robert Manea <gotmor@gmail.com> | 2009-05-06 11:50:34 +0200 |
---|---|---|
committer | Robert Manea <gotmor@gmail.com> | 2009-05-06 11:50:34 +0200 |
commit | ef4b3ca77a3a71b5de606b96b18ff6620e8b16c5 (patch) | |
tree | 669592448908c540fac59d6fb02239d4aa931ad4 /uzbl.h | |
parent | f93198c60aa3495b71a3fb493c94b7b2156fa0d5 (diff) |
refactored status bar template symbol definition and setup
Diffstat (limited to 'uzbl.h')
-rw-r--r-- | uzbl.h | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -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; |