Separated colours from main preferences

This commit is contained in:
James Booth
2012-11-21 21:24:10 +00:00
parent 1a909fd6eb
commit e8b2b7196c
7 changed files with 478 additions and 348 deletions

View File

@@ -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();
}