diff options
author | George Hazan <george.hazan@gmail.com> | 2015-12-15 13:43:18 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-12-15 13:43:18 +0000 |
commit | 47fe9114f55e3b927aff317b7382a47d03a26d1a (patch) | |
tree | 9754a4e22acef35b10604d990c42705a5b3c9039 /plugins/Clist_nicer/src | |
parent | 2140d9b0af085a1c813655659aed6a4b31201ca7 (diff) |
menu items require an id to be edited
git-svn-id: http://svn.miranda-ng.org/main/trunk@15866 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_nicer/src')
-rw-r--r-- | plugins/Clist_nicer/src/cluiframes.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/plugins/Clist_nicer/src/cluiframes.cpp b/plugins/Clist_nicer/src/cluiframes.cpp index 7dbf45b25d..57465fc8e7 100644 --- a/plugins/Clist_nicer/src/cluiframes.cpp +++ b/plugins/Clist_nicer/src/cluiframes.cpp @@ -2984,23 +2984,27 @@ int LoadCLUIFramesModule(void) cont.MainMenuItem = Menu_AddMainMenuItem(&mi); UNSET_UID(mi); - // create "show all frames" menu mi.root = cont.MainMenuItem; mi.hIcolibItem = Skin_GetIconHandle(SKINICON_OTHER_MIRANDA); mi.flags = CMIF_UNMOVABLE; + + // create "show all frames" menu + mi.uid.d[7]++;
mi.position = 4000090000; mi.name.a = LPGEN("Show all frames"); mi.pszService = MS_CLIST_FRAMES_SHOWALLFRAMES; Menu_AddMainMenuItem(&mi); // create "show all titlebars" menu - mi.hIcolibItem = Skin_GetIconHandle(SKINICON_OTHER_HELP); + mi.uid.d[7]++;
mi.position++; + mi.hIcolibItem = Skin_GetIconHandle(SKINICON_OTHER_HELP); mi.name.a = LPGEN("Show all title bars"); mi.pszService = MS_CLIST_FRAMES_SHOWALLFRAMESTB; Menu_AddMainMenuItem(&mi); // create "hide all titlebars" menu + mi.uid.d[7]++;
mi.position++; mi.name.a = LPGEN("Hide all title bars"); mi.pszService = MS_CLIST_FRAMES_HIDEALLFRAMESTB; |