diff options
author | George Hazan <george.hazan@gmail.com> | 2015-06-27 19:28:09 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-06-27 19:28:09 +0000 |
commit | 03df9032e2b6248fed2bcf1e6d40fbfba4581779 (patch) | |
tree | 29275137a963939beed2b788ade711ef131f4a3c /plugins/Clist_nicer | |
parent | 68677c938c33f5d60ad800e0872d824918d56243 (diff) |
minor menu related fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@14420 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_nicer')
-rw-r--r-- | plugins/Clist_nicer/src/CLUIFrames/cluiframes.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/Clist_nicer/src/CLUIFrames/cluiframes.cpp b/plugins/Clist_nicer/src/CLUIFrames/cluiframes.cpp index e3e2986474..d22724ac95 100644 --- a/plugins/Clist_nicer/src/CLUIFrames/cluiframes.cpp +++ b/plugins/Clist_nicer/src/CLUIFrames/cluiframes.cpp @@ -1346,12 +1346,12 @@ static int CLUIFramesLoadMainMenu() cont.MainMenuItem = Menu_AddMainMenuItem(&mi); // create frames menu + mi.hParentMenu = cont.MainMenuItem; int separator = (int)3000200000; for (int i = 0; i < nFramescount; i++) { mi.icolibItem = Frames[i].TitleBar.hicon; mi.flags = CMIF_TCHAR; mi.position = separator; - mi.hParentMenu = cont.MainMenuItem; mi.name.t = Frames[i].TitleBar.tbname ? Frames[i].TitleBar.tbname : Frames[i].name; mi.pszService = 0; Frames[i].MenuHandles.MainMenuItem = Menu_AddMainMenuItem(&mi); @@ -1367,7 +1367,6 @@ static int CLUIFramesLoadMainMenu() mi.icolibItem = Skin_GetIconHandle(SKINICON_OTHER_MIRANDA); mi.flags = 0; mi.position = separator++; - mi.hParentMenu = cont.MainMenuItem; mi.name.a = LPGEN("Show all frames"); mi.pszService = MS_CLIST_FRAMES_SHOWALLFRAMES; Menu_AddMainMenuItem(&mi); |