update mac files

pull/702/head
Luke 10 years ago
parent e29238130c
commit 21c6c57642

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

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

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

@ -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" />

Loading…
Cancel
Save