[smuxi: 4/4] Engine: re-apply MessageBuilderSettings on config changes
- From: Mirco M. M. Bauer <mmmbauer src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [smuxi: 4/4] Engine: re-apply MessageBuilderSettings on config changes
- Date: Mon, 16 Jun 2014 18:36:34 +0000 (UTC)
commit 3837f55b7a7e87f24a08738c0d6ebc99cde2daf1
Author: Mirco Bauer <meebey meebey net>
Date: Mon Jun 16 20:33:37 2014 +0200
Engine: re-apply MessageBuilderSettings on config changes
If highlight words were changed, the old words were still highlighted and not
the new ones.
src/Engine/Session.cs | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/Engine/Session.cs b/src/Engine/Session.cs
index 57c325e..0d6a826 100644
--- a/src/Engine/Session.cs
+++ b/src/Engine/Session.cs
@@ -1700,6 +1700,9 @@ namespace Smuxi.Engine
// TODO: use a timeout here to only refresh once in 1 second
_Filters = _FilterListController.GetFilterList().Values;
}
+ if (e.Key == "Interface/Chat/HighlightWords") {
+ MessageBuilderSettings.ApplyConfig(UserConfig);
+ }
if (e.Key == "Interface/Notebook/EngineBufferLines") {
lock (_Chats) {
foreach (var chat in _Chats) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]