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