summaryrefslogtreecommitdiff
path: root/src/core/stdidle
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/stdidle')
-rw-r--r--src/core/stdidle/src/idle.cpp25
-rw-r--r--src/core/stdidle/src/stdafx.h1
2 files changed, 0 insertions, 26 deletions
diff --git a/src/core/stdidle/src/idle.cpp b/src/core/stdidle/src/idle.cpp
index 8a04285c2b..6176f7baa2 100644
--- a/src/core/stdidle/src/idle.cpp
+++ b/src/core/stdidle/src/idle.cpp
@@ -369,30 +369,6 @@ static INT_PTR IdleGetInfo(WPARAM, LPARAM lParam)
return 0;
}
-static int IdleModernOptInit(WPARAM wParam, LPARAM)
-{
- static const int iBoldControls[] =
- {
- IDC_TXT_TITLE1, IDC_TXT_TITLE2, IDC_TXT_TITLE3,
- MODERNOPT_CTRL_LAST
- };
-
- MODERNOPTOBJECT obj = {0};
- obj.cbSize = sizeof(obj);
- obj.hInstance = hInst;
- obj.dwFlags = MODEROPT_FLG_TCHAR | MODEROPT_FLG_NORESIZE;
- obj.iSection = MODERNOPT_PAGE_STATUS;
- obj.iType = MODERNOPT_TYPE_SECTIONPAGE;
- obj.iBoldControls = (int*)iBoldControls;
- obj.lpzTemplate = MAKEINTRESOURCEA(IDD_MODERNOPT_IDLE);
- obj.pfnDlgProc = IdleOptsDlgProc;
-// obj.lpzClassicGroup = "Status";
-// obj.lpzClassicPage = "Messages";
- obj.lpzHelpUrl = "https://wiki.miranda-ng.org/";
- CallService(MS_MODERNOPT_ADDOBJECT, wParam, (LPARAM)&obj);
- return 0;
-}
-
int LoadIdleModule(void)
{
bModuleInitialized = TRUE;
@@ -401,7 +377,6 @@ int LoadIdleModule(void)
IdleObject_Create(&gIdleObject);
CreateServiceFunction(MS_IDLE_GETIDLEINFO, IdleGetInfo);
HookEvent(ME_OPT_INITIALISE, IdleOptInit);
- HookEvent(ME_MODERNOPT_INITIALIZE, IdleModernOptInit);
return 0;
}
diff --git a/src/core/stdidle/src/stdafx.h b/src/core/stdidle/src/stdafx.h
index ce1877ea9f..920188e6dc 100644
--- a/src/core/stdidle/src/stdafx.h
+++ b/src/core/stdidle/src/stdafx.h
@@ -58,7 +58,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include <m_findadd.h>
#include <m_idle.h>
#include <m_icolib.h>
-#include <m_modernopt.h>
#include <m_timezones.h>
#include "version.h"