diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-06 00:20:01 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-06 01:02:51 +0300 |
commit | eb6a0f8af34d0f8de808d474381c232716a7534d (patch) | |
tree | 01849b726376d9ebe58a13d99a09dc31a29eaf1e /src/gui/setup_chat.cpp | |
parent | 5413a9e7c761dc80cf33dbee8593b8721c1539b6 (diff) | |
download | plus-eb6a0f8af34d0f8de808d474381c232716a7534d.tar.gz plus-eb6a0f8af34d0f8de808d474381c232716a7534d.tar.bz2 plus-eb6a0f8af34d0f8de808d474381c232716a7534d.tar.xz plus-eb6a0f8af34d0f8de808d474381c232716a7534d.zip |
add globals filter.
It can move some global messages into debug window.
This mean it prevent from spam in chat message and spam sounds.
By default filter configured to ignore globals from Sagatha.
Diffstat (limited to 'src/gui/setup_chat.cpp')
-rw-r--r-- | src/gui/setup_chat.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/setup_chat.cpp b/src/gui/setup_chat.cpp index 91a9dd859..3a81119ba 100644 --- a/src/gui/setup_chat.cpp +++ b/src/gui/setup_chat.cpp @@ -186,6 +186,10 @@ Setup_Chat::Setup_Chat(const Widget2 *const widget) : "highlightWords", this, "highlightWordsEvent"); // TRANSLATORS: settings option + new SetupItemTextField(_("Globals ignore names (separated by comma)"), "", + "globalsFilter", this, "globalsFilterEvent"); + + // TRANSLATORS: settings option new SetupItemCheckBox(_("Show MVP messages"), "", "showMVP", this, "showMVPEvent"); |