update mac files

This commit is contained in:
Luke 2014-11-21 12:20:28 -05:00
parent e29238130c
commit 21c6c57642
4 changed files with 12 additions and 8 deletions

View File

@ -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)

View File

@ -6,7 +6,7 @@
//
using MonoMac.Foundation;
namespace StatusMenu
namespace MediaBrowser.Server.Mac
{
partial class AppController
{

View File

@ -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);
}
}
}

View File

@ -81,6 +81,10 @@
<Compile Include="AppDelegate.designer.cs">
<DependentUpon>AppDelegate.cs</DependentUpon>
</Compile>
<Compile Include="AppController.cs" />
<Compile Include="AppController.designer.cs">
<DependentUpon>AppController.cs</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<InterfaceDefinition Include="MainWindow.xib" />