diff --git a/MediaBrowser.Server.Mac/AppController.cs b/MediaBrowser.Server.Mac/AppController.cs index 7f364ed71f..e28a73db15 100644 --- a/MediaBrowser.Server.Mac/AppController.cs +++ b/MediaBrowser.Server.Mac/AppController.cs @@ -2,7 +2,7 @@ using System; using MonoMac.Foundation; using MonoMac.AppKit; -namespace StatusMenu +namespace MediaBrowser.Server.Mac { [Register("AppController")] public partial class AppController : NSObject @@ -14,10 +14,10 @@ namespace StatusMenu public override void AwakeFromNib() { - var statusItem = NSStatusBar.SystemStatusBar.CreateStatusItem(30); - statusItem.Menu = statusMenu; - statusItem.Image = NSImage.ImageNamed("f3bfd_Untitled-thumb"); - statusItem.HighlightMode = true; + //var statusItem = NSStatusBar.SystemStatusBar.CreateStatusItem(30); + //statusItem.Menu = statusMenu; + //statusItem.Image = NSImage.ImageNamed("f3bfd_Untitled-thumb"); + //statusItem.HighlightMode = true; } partial void HelloWorld(NSObject sender) diff --git a/MediaBrowser.Server.Mac/AppController.designer.cs b/MediaBrowser.Server.Mac/AppController.designer.cs index 307d0eee32..0842bbc1a3 100644 --- a/MediaBrowser.Server.Mac/AppController.designer.cs +++ b/MediaBrowser.Server.Mac/AppController.designer.cs @@ -6,7 +6,7 @@ // using MonoMac.Foundation; -namespace StatusMenu +namespace MediaBrowser.Server.Mac { partial class AppController { diff --git a/MediaBrowser.Server.Mac/AppDelegate.cs b/MediaBrowser.Server.Mac/AppDelegate.cs index 21ceebd564..b8e597e24e 100644 --- a/MediaBrowser.Server.Mac/AppDelegate.cs +++ b/MediaBrowser.Server.Mac/AppDelegate.cs @@ -16,8 +16,8 @@ namespace MediaBrowser.Server.Mac public override void FinishedLaunching (NSObject notification) { - mainWindowController = new MainWindowController (); - mainWindowController.Window.MakeKeyAndOrderFront (this); + //mainWindowController = new MainWindowController (); + //mainWindowController.Window.MakeKeyAndOrderFront (this); } } } diff --git a/MediaBrowser.Server.Mac/MediaBrowser.Server.Mac.csproj b/MediaBrowser.Server.Mac/MediaBrowser.Server.Mac.csproj index bfd33d80b5..57f06882b4 100644 --- a/MediaBrowser.Server.Mac/MediaBrowser.Server.Mac.csproj +++ b/MediaBrowser.Server.Mac/MediaBrowser.Server.Mac.csproj @@ -81,6 +81,10 @@ AppDelegate.cs + + + AppController.cs +