diff options
Diffstat (limited to 'plugins/SecureIM/src')
-rw-r--r-- | plugins/SecureIM/src/commonheaders.h | 1 | ||||
-rw-r--r-- | plugins/SecureIM/src/main.cpp | 5 |
2 files changed, 4 insertions, 2 deletions
diff --git a/plugins/SecureIM/src/commonheaders.h b/plugins/SecureIM/src/commonheaders.h index 18908fb146..482289edce 100644 --- a/plugins/SecureIM/src/commonheaders.h +++ b/plugins/SecureIM/src/commonheaders.h @@ -24,6 +24,7 @@ #include <m_database.h>
#include <m_protosvc.h>
#include <m_langpack.h>
+#include <m_clist.h>
#include <m_options.h>
#include <m_skin.h>
#include <m_popup.h>
diff --git a/plugins/SecureIM/src/main.cpp b/plugins/SecureIM/src/main.cpp index a7f46db025..7fb923a5bb 100644 --- a/plugins/SecureIM/src/main.cpp +++ b/plugins/SecureIM/src/main.cpp @@ -53,11 +53,12 @@ static HGENMENU AddSubItem(HANDLE rootid, LPCSTR name, int pos, int poppos, LPCS CLISTMENUITEM mi = { 0 };
mi.flags = CMIF_ROOTHANDLE | CMIF_HIDDEN;
mi.position = pos;
- mi.popupPosition = poppos;
mi.pszName = (char*)name;
mi.pszPopupName = (char*)rootid;
mi.pszService = (char*)service;
- return Menu_AddContactMenuItem(&mi);
+ HGENMENU res = Menu_AddContactMenuItem(&mi);
+ Menu_ConfigureItem(res, MCI_OPT_EXECPARAM, poppos);
+ return res;
}
static int onModuleLoad(WPARAM, LPARAM)
|