summaryrefslogtreecommitdiff
path: root/MirOTR/options.cpp
diff options
context:
space:
mode:
authoradmin@progandy.co.cc <admin@progandy.co.cc@eced67a3-f377-a0ae-92ae-d6de1850b05a>2010-09-12 15:31:41 +0000
committeradmin@progandy.co.cc <admin@progandy.co.cc@eced67a3-f377-a0ae-92ae-d6de1850b05a>2010-09-12 15:31:41 +0000
commit9832446d4b9476acfb3b5fc63d3b8f3d54f398b8 (patch)
tree8fee3226060337fbb216e6bafccb34f03129bbc4 /MirOTR/options.cpp
parentbed8c75c86c6002eec23af0332912224f452558c (diff)
- moved options from Plugins to Services
- [ issue 8 ] added some code for compatibility with SecureIM git-svn-id: http://mirotr.googlecode.com/svn/trunk@10 eced67a3-f377-a0ae-92ae-d6de1850b05a
Diffstat (limited to 'MirOTR/options.cpp')
-rw-r--r--MirOTR/options.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/MirOTR/options.cpp b/MirOTR/options.cpp
index 8672071..175edb5 100644
--- a/MirOTR/options.cpp
+++ b/MirOTR/options.cpp
@@ -99,6 +99,7 @@ void LoadOptions() {
options.bHaveMetaContacts = 0!=ServiceExists(MS_MC_GETMETACONTACT);
options.bHavePopups = 0!=ServiceExists(MS_POPUP_ADDPOPUPT) && ServiceExists(MS_POPUP_SHOWMESSAGE);
options.bHaveSRMMIcons = 0!=ServiceExists(MS_MSG_MODIFYICON);
+ options.bHaveSecureIM = 0!=ServiceExists("SecureIM/IsContactSecured");
LoadFilenames();
}
@@ -110,7 +111,7 @@ extern "C" INT_PTR OpenOptions(WPARAM wParam, LPARAM lParam)
odp.cbSize = sizeof(odp);
odp.position = 100;
odp.hInstance = hInst;
- odp.ptszGroup = LPGENT("Plugins");
+ odp.ptszGroup = LPGENT("Services"); //"Plugins"
odp.ptszTitle = _T(MODULENAME);
odp.flags = ODPF_BOLDGROUPS|ODPF_TCHAR;