summaryrefslogtreecommitdiff
path: root/plugins/Scriver/src/globals.cpp
diff options
context:
space:
mode:
authorDmitry Kuzkin <bio@ktaspb.ru>2012-08-20 11:10:24 +0000
committerDmitry Kuzkin <bio@ktaspb.ru>2012-08-20 11:10:24 +0000
commit8cee0ecbc1c81a2a2a30113ab9d5eca7b60060da (patch)
tree01399e0a232b667861938a652e0801e699621274 /plugins/Scriver/src/globals.cpp
parent1fc33e01e8d1fe9ddcceb60697fa12a8e5bc13de (diff)
revert changes r14006 - simplify tab options
now close icons on tabs can be disabled :) git-svn-id: http://svn.miranda-ng.org/main/trunk@1505 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Scriver/src/globals.cpp')
-rw-r--r--plugins/Scriver/src/globals.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/Scriver/src/globals.cpp b/plugins/Scriver/src/globals.cpp
index 9a81ebcdbb..6e9a23b22b 100644
--- a/plugins/Scriver/src/globals.cpp
+++ b/plugins/Scriver/src/globals.cpp
@@ -390,9 +390,12 @@ void ReloadGlobals() {
g_dat->flags2 |= SMF2_SWITCHTOACTIVE;
if (DBGetContactSettingByte(NULL, SRMMMOD, SRMSGSET_LIMITNAMES, SRMSGDEFSET_LIMITNAMES))
g_dat->flags2 |= SMF2_LIMITNAMES;
+ if (DBGetContactSettingByte(NULL, SRMMMOD, SRMSGSET_HIDEONETAB, SRMSGDEFSET_HIDEONETAB))
g_dat->flags2 |= SMF2_HIDEONETAB;
if (DBGetContactSettingByte(NULL, SRMMMOD, SRMSGSET_SEPARATECHATSCONTAINERS, SRMSGDEFSET_SEPARATECHATSCONTAINERS))
g_dat->flags2 |= SMF2_SEPARATECHATSCONTAINERS;
+ if (DBGetContactSettingByte(NULL, SRMMMOD, SRMSGSET_TABCLOSEBUTTON, SRMSGDEFSET_TABCLOSEBUTTON))
+ g_dat->flags2 |= SMF2_TABCLOSEBUTTON;
if (DBGetContactSettingByte(NULL, SRMMMOD, SRMSGSET_LIMITTABS, SRMSGDEFSET_LIMITTABS))
g_dat->flags2 |= SMF2_LIMITTABS;
if (DBGetContactSettingByte(NULL, SRMMMOD, SRMSGSET_LIMITCHATSTABS, SRMSGDEFSET_LIMITCHATSTABS))