diff options
author | corvid <corvid@lavabit.com> | 2011-09-13 18:22:27 +0000 |
---|---|---|
committer | corvid <corvid@lavabit.com> | 2011-09-13 18:22:27 +0000 |
commit | 91ba7012bd386f756df10bbffdbb8f4d8274dea5 (patch) | |
tree | 868cead2d246c199900f096865343313f687c1cf /src/prefs.c | |
parent | fb39514b418cb293339d9f6028a496b2c4cca8da (diff) |
UI theme preference
Diffstat (limited to 'src/prefs.c')
-rw-r--r-- | src/prefs.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/prefs.c b/src/prefs.c index 58ac5c32..234c9288 100644 --- a/src/prefs.c +++ b/src/prefs.c @@ -23,6 +23,7 @@ #define PREFS_SAVE_DIR "/tmp/" #define PREFS_HTTP_REFERER "host" #define PREFS_HTTP_USER_AGENT "Dillo/" VERSION +#define PREFS_THEME "none" /*----------------------------------------------------------------------------- * Global Data @@ -98,6 +99,7 @@ void a_Prefs_init(void) prefs.show_url = TRUE; prefs.small_icons = FALSE; prefs.start_page = a_Url_new(PREFS_START_PAGE, NULL); + prefs.theme = dStrdup(PREFS_THEME); prefs.w3c_plus_heuristics = TRUE; } @@ -126,4 +128,5 @@ void a_Prefs_freeall(void) dFree(dList_nth_data(prefs.search_urls, i)); dList_free(prefs.search_urls); a_Url_free(prefs.start_page); + dFree(prefs.theme); } |