diff options
author | George Hazan <george.hazan@gmail.com> | 2015-06-23 13:04:28 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-06-23 13:04:28 +0000 |
commit | 4ba9c10fa00482b9e9d8b54812b49ecf60cee95e (patch) | |
tree | 60a4eaf0406288ae2ccda66beccbff7a1b6126b4 /plugins/ListeningTo | |
parent | 7d3d5e16b4e5378a751576095771c2a75b7276fb (diff) |
obsoleted constants CMIF_ROOTPOPUP & CMIF_CHILDPOPUP replaced with CMIF_ROOTHANDLE
git-svn-id: http://svn.miranda-ng.org/main/trunk@14350 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ListeningTo')
-rw-r--r-- | plugins/ListeningTo/src/listeningto.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/ListeningTo/src/listeningto.cpp b/plugins/ListeningTo/src/listeningto.cpp index f8bcb8f8b6..c45188b971 100644 --- a/plugins/ListeningTo/src/listeningto.cpp +++ b/plugins/ListeningTo/src/listeningto.cpp @@ -196,7 +196,7 @@ void RebuildMenu() mi.popupPosition = 500080000 + i;
mi.pszService = MS_LISTENINGTO_MAINMENU;
mi.ptszName = text;
- mi.flags = CMIF_CHILDPOPUP | CMIF_TCHAR
+ mi.flags = CMIF_ROOTHANDLE | CMIF_TCHAR
| (ListeningToEnabled(info->proto, TRUE) ? CMIF_CHECKED : 0)
| (opts.enable_sending ? 0 : CMIF_GRAYED);
@@ -294,7 +294,7 @@ int ModulesLoaded(WPARAM, LPARAM) CLISTMENUITEM mi = { 0 };
mi.position = 500080000;
mi.ptszName = LPGENT("Listening to");
- mi.flags = CMIF_ROOTPOPUP | CMIF_TCHAR;
+ mi.flags = CMIF_ROOTHANDLE | CMIF_TCHAR;
mi.icolibItem = iconList[0].hIcolib;
hMainMenuGroup = Menu_AddMainMenuItem(&mi);
@@ -306,7 +306,7 @@ int ModulesLoaded(WPARAM, LPARAM) // Add all protos
mi.ptszName = LPGENT("Send to all protocols");
- mi.flags = CMIF_CHILDPOPUP | CMIF_TCHAR
+ mi.flags = CMIF_ROOTHANDLE | CMIF_TCHAR
| (ListeningToEnabled(NULL, TRUE) ? CMIF_CHECKED : 0)
| (opts.enable_sending ? 0 : CMIF_GRAYED);
proto_items.resize(1);
|