diff options
author | George Hazan <george.hazan@gmail.com> | 2015-06-26 22:03:02 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-06-26 22:03:02 +0000 |
commit | be616d81bdaf8fd4ae61b0a145fb81bbdf467994 (patch) | |
tree | c0d4798a8e882583f74eb166508e0f4ce96bd4e4 /plugins/Ping | |
parent | c89c550677f40d8b2010de442053cba81ba06d96 (diff) |
YEEHAW! CLISTMENUITEM::pszPopupName also died
git-svn-id: http://svn.miranda-ng.org/main/trunk@14404 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Ping')
-rw-r--r-- | plugins/Ping/src/menu.cpp | 4 | ||||
-rw-r--r-- | plugins/Ping/src/pingthread.cpp | 4 |
2 files changed, 3 insertions, 5 deletions
diff --git a/plugins/Ping/src/menu.cpp b/plugins/Ping/src/menu.cpp index 564d2ee8bf..263edf9656 100644 --- a/plugins/Ping/src/menu.cpp +++ b/plugins/Ping/src/menu.cpp @@ -8,8 +8,8 @@ void InitMenus() // main menu
CLISTMENUITEM mi = { 0 };
mi.flags = CMIF_TCHAR;
- // mi.popupPosition = 500099900; !!!!!!!!!!!!!!!!!!!!
- mi.ptszPopupName = LPGENT("Ping");
+ mi.hParentMenu = Menu_CreateRoot(MO_MAIN, LPGENT("Ping"), 500099900);
+
mi.position = 2000060000;
mi.hIcon = hIconResponding;
mi.ptszName = LPGENT("Enable all pings");
diff --git a/plugins/Ping/src/pingthread.cpp b/plugins/Ping/src/pingthread.cpp index e5c6061d6b..a8ec7c89e1 100644 --- a/plugins/Ping/src/pingthread.cpp +++ b/plugins/Ping/src/pingthread.cpp @@ -993,10 +993,8 @@ void InitList() CLISTMENUITEM mi = { 0 };
mi.flags = CMIF_TCHAR;
- // mi.popupPosition = 1000200001; !!!!!!!!!!!!!
- mi.ptszPopupName = LPGENT("Ping");
+ mi.hParentMenu = Menu_CreateRoot(MO_MAIN, LPGENT("Ping"), 1000200001);
mi.position = 3000320001;
- mi.hIcon = 0;//LoadIcon( hInst, 0);
mi.ptszName = LPGENT("Show/Hide &Ping Window");
mi.pszService = PLUG "/ShowWindow";
Menu_AddMainMenuItem(&mi);
|