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_modern/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_modern/src')
-rw-r--r-- | plugins/Clist_modern/src/cluiframes.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/Clist_modern/src/cluiframes.cpp b/plugins/Clist_modern/src/cluiframes.cpp index 0678be57dd..28534d2138 100644 --- a/plugins/Clist_modern/src/cluiframes.cpp +++ b/plugins/Clist_modern/src/cluiframes.cpp @@ -3392,22 +3392,26 @@ int LoadCLUIFramesModule(void) cont.MainMenuItem = Menu_AddMainMenuItem(&mi);
UNSET_UID(mi);
- // create "show all frames" menu
mi.root = cont.MainMenuItem;
mi.hIcolibItem = NULL;
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.uid.d[7]++;
mi.position++;
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;
|