diff options
| author | LukePulverenti <luke.pulverenti@gmail.com> | 2013-02-21 16:06:23 -0500 |
|---|---|---|
| committer | LukePulverenti <luke.pulverenti@gmail.com> | 2013-02-21 16:06:23 -0500 |
| commit | 76f067f86778c29fbfb3716a72bc858cfdd73fd8 (patch) | |
| tree | 3a61a3203860993a0742f1c4c169d874b5f85000 /MediaBrowser.ServerApplication/MainWindow.xaml.cs | |
| parent | 2a2ee4adb379344b9eb7262ccc59778dc277e1ae (diff) | |
extracted more logging dependancies
Diffstat (limited to 'MediaBrowser.ServerApplication/MainWindow.xaml.cs')
| -rw-r--r-- | MediaBrowser.ServerApplication/MainWindow.xaml.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.ServerApplication/MainWindow.xaml.cs b/MediaBrowser.ServerApplication/MainWindow.xaml.cs index bce0c4aa0..e020aebf7 100644 --- a/MediaBrowser.ServerApplication/MainWindow.xaml.cs +++ b/MediaBrowser.ServerApplication/MainWindow.xaml.cs @@ -160,7 +160,7 @@ namespace MediaBrowser.ServerApplication // Show the notification if (newItems.Count == 1) { - Dispatcher.InvokeAsync(() => MbTaskbarIcon.ShowCustomBalloon(new ItemUpdateNotification(LogManager.GetLogger("ItemUpdateNotification")) + Dispatcher.InvokeAsync(() => MbTaskbarIcon.ShowCustomBalloon(new ItemUpdateNotification(_logger) { DataContext = newItems[0] @@ -168,7 +168,7 @@ namespace MediaBrowser.ServerApplication } else if (newItems.Count > 1) { - Dispatcher.InvokeAsync(() => MbTaskbarIcon.ShowCustomBalloon(new MultiItemUpdateNotification(LogManager.GetLogger("ItemUpdateNotification")) + Dispatcher.InvokeAsync(() => MbTaskbarIcon.ShowCustomBalloon(new MultiItemUpdateNotification(_logger) { DataContext = newItems |
