mirror of
https://github.com/greenshot/greenshot
synced 2025-08-20 05:23:24 -07:00
Working on making multiple notification systems possible, removing the old "notifyicon" balloon for Windows 10.
This commit is contained in:
parent
d0846b0f09
commit
1ba0bf9b10
6 changed files with 189 additions and 24 deletions
|
@ -546,7 +546,7 @@ namespace Greenshot.Helpers {
|
|||
if (string.IsNullOrEmpty(eventArgs?.Message)) {
|
||||
return;
|
||||
}
|
||||
var notifyIconClassicMessageHandler = SimpleServiceProvider.Current.GetInstance<NotifyIconNotificationService>();
|
||||
var notifyIconClassicMessageHandler = SimpleServiceProvider.Current.GetInstance<INotificationService>();
|
||||
switch (eventArgs.MessageType) {
|
||||
case SurfaceMessageTyp.Error:
|
||||
notifyIconClassicMessageHandler.ShowErrorMessage(eventArgs.Message, 10000);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue