summaryrefslogtreecommitdiff
path: root/plugins/Ping/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-06-26 18:21:10 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-06-26 18:21:10 +0000
commit68924bfc1a213e619563c2cffb6d44b5b5346f6d (patch)
tree139f501b225080e4f895dbd40083df5956c3e339 /plugins/Ping/src
parentb7a7d90f054d48dfda64e8a11d4f5cbb3fe2a521 (diff)
next slice of cutting out unused menu features - popupPosition
git-svn-id: http://svn.miranda-ng.org/main/trunk@14400 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Ping/src')
-rw-r--r--plugins/Ping/src/common.h2
-rw-r--r--plugins/Ping/src/menu.cpp4
-rw-r--r--plugins/Ping/src/pingthread.cpp2
3 files changed, 3 insertions, 5 deletions
diff --git a/plugins/Ping/src/common.h b/plugins/Ping/src/common.h
index b044c440d5..79dfbcf6f5 100644
--- a/plugins/Ping/src/common.h
+++ b/plugins/Ping/src/common.h
@@ -23,8 +23,8 @@
#include <m_database.h>
#include <m_protosvc.h>
#include <m_clui.h>
-#include <m_cluiframes.h>
#include <m_clistint.h>
+#include <m_cluiframes.h>
#include <m_fontservice.h>
#include <m_icolib.h>
#include <win2k.h>
diff --git a/plugins/Ping/src/menu.cpp b/plugins/Ping/src/menu.cpp
index 8cb8855d3e..564d2ee8bf 100644
--- a/plugins/Ping/src/menu.cpp
+++ b/plugins/Ping/src/menu.cpp
@@ -8,7 +8,7 @@ void InitMenus()
// main menu
CLISTMENUITEM mi = { 0 };
mi.flags = CMIF_TCHAR;
- mi.popupPosition = 500099900;
+ // mi.popupPosition = 500099900; !!!!!!!!!!!!!!!!!!!!
mi.ptszPopupName = LPGENT("Ping");
mi.position = 2000060000;
mi.hIcon = hIconResponding;
@@ -16,9 +16,7 @@ void InitMenus()
mi.pszService = PLUG "/EnableAll";
Menu_AddMainMenuItem(&mi);
- mi.popupPosition = 500299901;
mi.position = 2000060001;
- mi.popupPosition = 0;
mi.hIcon = hIconDisabled;
mi.ptszName = LPGENT("Disable all pings");
mi.pszService = PLUG "/DisableAll";
diff --git a/plugins/Ping/src/pingthread.cpp b/plugins/Ping/src/pingthread.cpp
index 1534edbfee..e5c6061d6b 100644
--- a/plugins/Ping/src/pingthread.cpp
+++ b/plugins/Ping/src/pingthread.cpp
@@ -993,7 +993,7 @@ void InitList()
CLISTMENUITEM mi = { 0 };
mi.flags = CMIF_TCHAR;
- mi.popupPosition = 1000200001;
+ // mi.popupPosition = 1000200001; !!!!!!!!!!!!!
mi.ptszPopupName = LPGENT("Ping");
mi.position = 3000320001;
mi.hIcon = 0;//LoadIcon( hInst, 0);