diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-08-29 09:33:23 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-08-29 09:33:23 +0000 |
commit | 8bfb987717dc3994bae1aaa78ece779c97340850 (patch) | |
tree | d66c26bb83494dfd2855e9552a138abea04d609c /plugins/Toaster/src/main.cpp | |
parent | 6fd2007e5133b4d34ab9089ff60a1f0aaa0f1e33 (diff) |
AddToStartMenu functianally moved to Toaster
git-svn-id: http://svn.miranda-ng.org/main/trunk@15083 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Toaster/src/main.cpp')
-rw-r--r-- | plugins/Toaster/src/main.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/plugins/Toaster/src/main.cpp b/plugins/Toaster/src/main.cpp index 15bef82d99..ccfedcefa1 100644 --- a/plugins/Toaster/src/main.cpp +++ b/plugins/Toaster/src/main.cpp @@ -45,13 +45,9 @@ extern "C" int __declspec(dllexport) Load(void) if (IsWinVer8Plus() && !IsWinVer10Plus())
{
- if (ServiceExists("AddToStartMenu/Add"))
+ if (FAILED(TryCreateShortcut()))
{
- CallService("AddToStartMenu/Add");
- }
- else
- {
- MessageBox(NULL, TranslateT("In Windows8 desktop application must have a shortcut on the Start menu. Please, install \"AddToStartMenu\" plugin."), _T(MODULE), MB_OK | MB_ICONERROR);
+ MessageBox(NULL, TranslateT("Failed create shortcut"), _T(MODULE), MB_OK | MB_ICONERROR);
}
}
|