[smuxi: 1/8] Engine: re-apply MessageBuilderSettings on config changes
- From: Mirco M. M. Bauer <mmmbauer src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [smuxi: 1/8] Engine: re-apply MessageBuilderSettings on config changes
- Date: Sat, 12 Jul 2014 09:58:25 +0000 (UTC)
commit 1b9e1ce7de284592fd5f3a6d713eedadc56c475e
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 44fce40..7361779 100644
--- a/src/Engine/Session.cs
+++ b/src/Engine/Session.cs
@@ -1676,6 +1676,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]