From 53fc89f71120a7ceba494cb1eed18667c24d1775 Mon Sep 17 00:00:00 2001 From: James Booth Date: Fri, 22 Jan 2016 01:06:28 +0000 Subject: [PATCH] Added account theme property --- src/command/command.c | 26 +++++++++++- src/command/commands.c | 55 ++++++++++++++++++++++++++ src/config/account.c | 9 ++++- src/config/account.h | 3 +- src/config/accounts.c | 27 ++++++++++++- src/config/accounts.h | 2 + src/config/theme.c | 16 ++++++++ src/config/theme.h | 1 + src/ui/console.c | 3 ++ src/ui/core.c | 19 +++++++++ tests/unittests/config/stub_accounts.c | 2 + tests/unittests/test_cmd_account.c | 14 +++---- tests/unittests/test_cmd_connect.c | 6 +-- tests/unittests/test_cmd_join.c | 8 ++-- tests/unittests/test_cmd_otr.c | 2 +- tests/unittests/test_cmd_rooms.c | 2 +- 16 files changed, 175 insertions(+), 20 deletions(-) diff --git a/src/command/command.c b/src/command/command.c index 3f4e4a7d..ca84591f 100644 --- a/src/command/command.c +++ b/src/command/command.c @@ -1644,6 +1644,7 @@ static struct cmd_t command_defs[] = "/account set pgpkeyid ", "/account set startscript