From 6880d1f0c3847cdf734812ee6a25c9935a01aacc Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sun, 4 Nov 2018 15:50:20 +0100 Subject: reload_mappings(): Print a log message when mappings are reloaded In the daemon, we should print a log message when the mappings file gets reloaded. This allows you to follow along in the log file. --- DomeKey/Mappings.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DomeKey/Mappings.m b/DomeKey/Mappings.m index 072cd11..967e3ed 100644 --- a/DomeKey/Mappings.m +++ b/DomeKey/Mappings.m @@ -51,9 +51,9 @@ void reload_mappings( ) { if (CFStringCompare(name, CFNOTIFICATION_NAME_RELOAD, 0) == kCFCompareEqualTo) { - // TODO: Mappings reloaded message - [Mappings reloadMappings]; + + teprintf("Mappings reloaded"); } } -- cgit v1.2.3