diff options
author | James Booth <boothj5@gmail.com> | 2014-11-16 20:40:19 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-11-16 20:40:19 +0000 |
commit | ed4391ec8a3190769917358e4fa68106c9e9891d (patch) | |
tree | 363a26afbfdac311dffaa5706900d5147a5dea5e /src/command | |
parent | 90dd1de91a6972bf82fb385dd277444ac5317484 (diff) | |
download | profani-tty-ed4391ec8a3190769917358e4fa68106c9e9891d.tar.gz |
Replaced colours with theme_item_t
Diffstat (limited to 'src/command')
-rw-r--r-- | src/command/commands.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/command/commands.c b/src/command/commands.c index 3e3f7b0c..bbb59cdf 100644 --- a/src/command/commands.c +++ b/src/command/commands.c @@ -2265,10 +2265,10 @@ cmd_subject(gchar **args, struct cmd_help_t help) if (args[0] == NULL) { char *subject = muc_subject(room); if (subject) { - win_save_vprint(window, '!', NULL, NO_EOL, COLOUR_ROOMINFO, "", "Room subject: "); + win_save_vprint(window, '!', NULL, NO_EOL, THEME_ROOMINFO, "", "Room subject: "); win_save_vprint(window, '!', NULL, NO_DATE, 0, "", "%s", subject); } else { - win_save_print(window, '!', NULL, 0, COLOUR_ROOMINFO, "", "Room has no subject"); + win_save_print(window, '!', NULL, 0, THEME_ROOMINFO, "", "Room has no subject"); } return TRUE; } @@ -2466,12 +2466,12 @@ cmd_room(gchar **args, struct cmd_help_t help) if (g_strcmp0(args[0], "accept") == 0) { gboolean requires_config = muc_requires_config(room); if (!requires_config) { - win_save_print(window, '!', NULL, 0, COLOUR_ROOMINFO, "", "Current room does not require configuration."); + win_save_print(window, '!', NULL, 0, THEME_ROOMINFO, "", "Current room does not require configuration."); return TRUE; } else { iq_confirm_instant_room(room); muc_set_requires_config(room, FALSE); - win_save_print(window, '!', NULL, 0, COLOUR_ROOMINFO, "", "Room unlocked."); + win_save_print(window, '!', NULL, 0, THEME_ROOMINFO, "", "Room unlocked."); return TRUE; } } |