summaryrefslogtreecommitdiff
path: root/plugins/Toaster
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-08-28 14:15:32 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-08-28 14:15:32 +0000
commite37a90d8790292ce38041a52e3e1f3459f29e87c (patch)
tree953bc01091106287a2196c2e017d1f93ae3fd890 /plugins/Toaster
parentf199e3980cc460070bcb3d4472bcbde98972e5ef (diff)
Toaster: fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@15058 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Toaster')
-rw-r--r--plugins/Toaster/src/main.cpp2
-rw-r--r--plugins/Toaster/src/toast_notification.cpp3
2 files changed, 3 insertions, 2 deletions
diff --git a/plugins/Toaster/src/main.cpp b/plugins/Toaster/src/main.cpp
index 34c33b4bd0..6c981ccd85 100644
--- a/plugins/Toaster/src/main.cpp
+++ b/plugins/Toaster/src/main.cpp
@@ -37,7 +37,7 @@ extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD)
{
if (ServiceExists("AddToStartMenu/Add"))
{
- CallService("AddToStartMenu / Add");
+ CallService("AddToStartMenu/Add");
}
else
{
diff --git a/plugins/Toaster/src/toast_notification.cpp b/plugins/Toaster/src/toast_notification.cpp
index 7d11f9318e..5c67f4dc0c 100644
--- a/plugins/Toaster/src/toast_notification.cpp
+++ b/plugins/Toaster/src/toast_notification.cpp
@@ -213,7 +213,8 @@ HRESULT ToastNotification::Show(_In_ ToastEventHandler* handler)
Microsoft::WRL::ComPtr<ABI::Windows::UI::Notifications::IToastNotificationManagerStatics> notificationManager;
HRESULT hr = Windows::Foundation::GetActivationFactory(StringReferenceWrapper(RuntimeClass_Windows_UI_Notifications_ToastNotificationManager).Get(), &notificationManager);
if (FAILED(hr))
- RaiseException(static_cast<DWORD>(STATUS_INVALID_PARAMETER), EXCEPTION_NONCONTINUABLE, 0, nullptr);
+ return hr;
+ //RaiseException(static_cast<DWORD>(STATUS_INVALID_PARAMETER), EXCEPTION_NONCONTINUABLE, 0, nullptr);
hr = notificationManager->CreateToastNotifierWithId(StringReferenceWrapper(::AppUserModelID).Get(), &notifier);
if (FAILED(hr))