about summary refs log tree commit diff stats
path: root/src/profanity.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2012-11-21 21:24:10 +0000
committerJames Booth <boothj5@gmail.com>2012-11-21 21:24:10 +0000
commite8b2b7196ca3f291cf68592f517a31bff18c8f83 (patch)
treeab4674ecec6a152e0b1b5ddf2091fe94a36df9c1 /src/profanity.c
parent1a909fd6eb2f1ac5fb302c1c164e346fe9050249 (diff)
downloadprofani-tty-e8b2b7196ca3f291cf68592f517a31bff18c8f83.tar.gz
Separated colours from main preferences
Diffstat (limited to 'src/profanity.c')
-rw-r--r--src/profanity.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/profanity.c b/src/profanity.c
index 1b30296e..e98443eb 100644
--- a/src/profanity.c
+++ b/src/profanity.c
@@ -39,6 +39,7 @@
 #include "preferences.h"
 #include "profanity.h"
 #include "room_chat.h"
+#include "theme.h"
 #include "jabber.h"
 #include "ui.h"
 
@@ -446,6 +447,7 @@ _init(const int disable_tls, char *log_level)
     log_info("Starting Profanity (%s)...", PACKAGE_VERSION);
     chat_log_init();
     prefs_load();
+    theme_load(prefs_get_theme());
     gui_init();
     jabber_init(disable_tls);
     cmd_init();
@@ -462,6 +464,7 @@ _shutdown(void)
     gui_close();
     chat_log_close();
     prefs_close();
+    theme_close();
     cmd_close();
     log_close();
 }