summaryrefslogtreecommitdiff
path: root/src/client_manager.cc
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2014-07-11 00:27:04 +0100
committerMaxime Coste <frrrwww@gmail.com>2014-07-11 00:27:43 +0100
commita32b49acd12538c27bf4f9abb8acd133e8cf2ee8 (patch)
treed1990535a90aa77fe6754f777e5f1c1c261e0ca8 /src/client_manager.cc
parent42611aef1e84b7dc13735021b8d0b68fedb86d60 (diff)
Rename ColorPair to Face and ColorRegistry to FaceRegistry
Face also stores the attributes
Diffstat (limited to 'src/client_manager.cc')
-rw-r--r--src/client_manager.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client_manager.cc b/src/client_manager.cc
index 692a1a46..ac9c8452 100644
--- a/src/client_manager.cc
+++ b/src/client_manager.cc
@@ -1,9 +1,9 @@
#include "client_manager.hh"
#include "buffer_manager.hh"
-#include "color_registry.hh"
#include "command_manager.hh"
#include "event_manager.hh"
+#include "face_registry.hh"
#include "file.hh"
#include "user_interface.hh"
#include "window.hh"
@@ -40,7 +40,7 @@ Client* ClientManager::create_client(std::unique_ptr<UserInterface>&& ui,
}
catch (Kakoune::runtime_error& error)
{
- client->context().print_status({ error.what(), get_color("Error") });
+ client->context().print_status({ error.what(), get_face("Error") });
client->context().hooks().run_hook("RuntimeError", error.what(),
client->context());
}
@@ -57,7 +57,7 @@ Client* ClientManager::create_client(std::unique_ptr<UserInterface>&& ui,
}
catch (Kakoune::runtime_error& error)
{
- client->context().print_status({ error.what(), get_color("Error") });
+ client->context().print_status({ error.what(), get_face("Error") });
client->context().hooks().run_hook("RuntimeError", error.what(),
client->context());
}