Revision fb9d6e00 trunk/Pithos.Client.WPF/Shell/ShellViewModel.cs
b/trunk/Pithos.Client.WPF/Shell/ShellViewModel.cs | ||
---|---|---|
8 | 8 |
using System.ServiceModel; |
9 | 9 |
using System.Threading.Tasks; |
10 | 10 |
using System.Windows; |
11 |
using System.Windows.Controls.Primitives; |
|
11 | 12 |
using Caliburn.Micro; |
12 | 13 |
using Hardcodet.Wpf.TaskbarNotification; |
13 | 14 |
using Pithos.Client.WPF.Configuration; |
... | ... | |
799 | 800 |
if (Settings.ShowDesktopNotifications) |
800 | 801 |
{ |
801 | 802 |
var tv = (ShellView) GetView(); |
802 |
tv.TaskbarView.ShowBalloonTip(notification.Title, notification.Message, icon); |
|
803 |
var balloon=new PithosBalloon{BalloonText=notification.Message}; |
|
804 |
tv.TaskbarView.ShowCustomBalloon(balloon,PopupAnimation.Fade,4000); |
|
805 |
// tv.TaskbarView.ShowBalloonTip(notification.Title, notification.Message, icon); |
|
803 | 806 |
} |
804 | 807 |
} |
805 | 808 |
#endregion |
Also available in: Unified diff