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/WebView | |
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/WebView')
-rw-r--r-- | plugins/WebView/src/main.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/WebView/src/main.cpp b/plugins/WebView/src/main.cpp index 14fb08497d..337c5ff94a 100644 --- a/plugins/WebView/src/main.cpp +++ b/plugins/WebView/src/main.cpp @@ -175,10 +175,12 @@ extern "C" int __declspec(dllexport) Load() //value is 0 if menu is enabled
db_set_b(NULL, MODULENAME, MENU_IS_DISABLED_KEY, 0);
+ mi.root = Menu_CreateRoot(MO_MAIN, _T(MODULENAME), 20200001);
+ Menu_ConfigureItem(mi.root, MCI_OPT_UID, "403BE07B-7954-4F3E-B318-4301571776B8");
+
/*DISABLE WEBVIEW*/
SET_UID(mi, 0xdedeb697, 0xfc10, 0x4622, 0x8b, 0x97, 0x74, 0x39, 0x32, 0x68, 0xa7, 0x7b);
CreateServiceFunction("DisableWebview", AutoUpdateMCmd);
- mi.root = Menu_CreateRoot(MO_MAIN, _T(MODULENAME), 20200001);
mi.hIcolibItem = LoadIcon(hInst, MAKEINTRESOURCE(IDI_SITE));
if (db_get_b(NULL, MODULENAME, DISABLE_AUTOUPDATE_KEY, 0))
mi.name.t = LPGENT("Auto update disabled");
|