diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-04-23 14:38:36 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-04-23 14:38:36 -0400 |
| commit | 9807448fce0bba3b1aaf9fcb249efc5efe7b3146 (patch) | |
| tree | 51ab4c888b1572150301fa383e6ccf97f9e88fec /MediaBrowser.ServerApplication/ServerNotifyIcon.cs | |
| parent | 85a9363c7806be6206c6e6f4a533d7ed578c3787 (diff) | |
update sleep prevention
Diffstat (limited to 'MediaBrowser.ServerApplication/ServerNotifyIcon.cs')
| -rw-r--r-- | MediaBrowser.ServerApplication/ServerNotifyIcon.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/MediaBrowser.ServerApplication/ServerNotifyIcon.cs b/MediaBrowser.ServerApplication/ServerNotifyIcon.cs index 673c6cddd..2146274af 100644 --- a/MediaBrowser.ServerApplication/ServerNotifyIcon.cs +++ b/MediaBrowser.ServerApplication/ServerNotifyIcon.cs @@ -36,10 +36,15 @@ namespace MediaBrowser.ServerApplication set { Action act = () => notifyIcon1.Visible = false; - contextMenuStrip1.Invoke(act); + Invoke(act); } } + public void Invoke(Action action) + { + contextMenuStrip1.Invoke(action); + } + public ServerNotifyIcon(ILogManager logManager, IServerApplicationHost appHost, IServerConfigurationManager configurationManager, |
