diff options
Diffstat (limited to 'src/mir_app/src/proto_opts.cpp')
-rw-r--r-- | src/mir_app/src/proto_opts.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/mir_app/src/proto_opts.cpp b/src/mir_app/src/proto_opts.cpp index 6c3784d9e7..3742a04f4a 100644 --- a/src/mir_app/src/proto_opts.cpp +++ b/src/mir_app/src/proto_opts.cpp @@ -979,18 +979,6 @@ static INT_PTR OptProtosShow(WPARAM, LPARAM) return 0;
}
-int OptProtosLoaded(WPARAM, LPARAM)
-{
- CMenuItem mi(&g_plugin);
- SET_UID(mi, 0xb1f74008, 0x1fa6, 0x4e98, 0x95, 0x28, 0x5a, 0x7e, 0xab, 0xfe, 0x10, 0x61);
- mi.hIcolibItem = Skin_GetIconHandle(SKINICON_OTHER_ACCMGR);
- mi.position = 1900000000;
- mi.name.a = LPGEN("&Accounts...");
- mi.pszService = MS_PROTO_SHOWACCMGR;
- Menu_AddMainMenuItem(&mi);
- return 0;
-}
-
static int OnAccListChanged(WPARAM eventCode, LPARAM lParam)
{
PROTOACCOUNT *pa = (PROTOACCOUNT*)lParam;
@@ -1018,7 +1006,6 @@ int LoadProtoOptions(void) {
CreateServiceFunction(MS_PROTO_SHOWACCMGR, OptProtosShow);
- HookEvent(ME_SYSTEM_MODULESLOADED, OptProtosLoaded);
HookEvent(ME_PROTO_ACCLISTCHANGED, OnAccListChanged);
HookEvent(ME_SYSTEM_PRESHUTDOWN, ShutdownAccMgr);
return 0;
|