diff options
author | George Hazan <george.hazan@gmail.com> | 2015-12-07 16:15:24 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-12-07 16:15:24 +0000 |
commit | f3151f33e282214080abacf04521296acec5e9de (patch) | |
tree | e6983507bbc83c6d788cf5bcf9d5e2da45f1daa4 /plugins/StatusPlugins | |
parent | fcb800cc6b9c2bf47a65750fa99065cb2a935b87 (diff) |
fix to apply the unique identifiers to all menu roots
git-svn-id: http://svn.miranda-ng.org/main/trunk@15826 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/StatusPlugins')
-rw-r--r-- | plugins/StatusPlugins/StartupStatus/profiles.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/StatusPlugins/StartupStatus/profiles.cpp b/plugins/StatusPlugins/StartupStatus/profiles.cpp index da6db98855..b3310eabe9 100644 --- a/plugins/StatusPlugins/StartupStatus/profiles.cpp +++ b/plugins/StatusPlugins/StartupStatus/profiles.cpp @@ -102,8 +102,10 @@ static int CreateMainMenuItems(WPARAM, LPARAM) if (!db_get_b(NULL, MODULENAME, OptName(i, SETTING_CREATEMMITEM), 0) || GetProfileName(i, (LPARAM)profilename)) continue; - if (db_get_b(NULL, MODULENAME, OptName(i, SETTING_INSUBMENU), 1)) + if (db_get_b(NULL, MODULENAME, OptName(i, SETTING_INSUBMENU), 1)) { mi.root = Menu_CreateRoot(MO_STATUS, LPGENT("Status profiles"), 2000100000); + Menu_ConfigureItem(mi.root, MCI_OPT_UID, "1AB30D51-BABA-4B27-9288-1A12278BAD8D");
+ } mi.name.t = profilename; mi.position = 2000100000 + mcount; |