mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
update mac files
This commit is contained in:
parent
e29238130c
commit
21c6c57642
@ -2,7 +2,7 @@ using System;
|
|||||||
using MonoMac.Foundation;
|
using MonoMac.Foundation;
|
||||||
using MonoMac.AppKit;
|
using MonoMac.AppKit;
|
||||||
|
|
||||||
namespace StatusMenu
|
namespace MediaBrowser.Server.Mac
|
||||||
{
|
{
|
||||||
[Register("AppController")]
|
[Register("AppController")]
|
||||||
public partial class AppController : NSObject
|
public partial class AppController : NSObject
|
||||||
@ -14,10 +14,10 @@ namespace StatusMenu
|
|||||||
|
|
||||||
public override void AwakeFromNib()
|
public override void AwakeFromNib()
|
||||||
{
|
{
|
||||||
var statusItem = NSStatusBar.SystemStatusBar.CreateStatusItem(30);
|
//var statusItem = NSStatusBar.SystemStatusBar.CreateStatusItem(30);
|
||||||
statusItem.Menu = statusMenu;
|
//statusItem.Menu = statusMenu;
|
||||||
statusItem.Image = NSImage.ImageNamed("f3bfd_Untitled-thumb");
|
//statusItem.Image = NSImage.ImageNamed("f3bfd_Untitled-thumb");
|
||||||
statusItem.HighlightMode = true;
|
//statusItem.HighlightMode = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
partial void HelloWorld(NSObject sender)
|
partial void HelloWorld(NSObject sender)
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
//
|
//
|
||||||
using MonoMac.Foundation;
|
using MonoMac.Foundation;
|
||||||
|
|
||||||
namespace StatusMenu
|
namespace MediaBrowser.Server.Mac
|
||||||
{
|
{
|
||||||
partial class AppController
|
partial class AppController
|
||||||
{
|
{
|
||||||
|
@ -16,8 +16,8 @@ namespace MediaBrowser.Server.Mac
|
|||||||
|
|
||||||
public override void FinishedLaunching (NSObject notification)
|
public override void FinishedLaunching (NSObject notification)
|
||||||
{
|
{
|
||||||
mainWindowController = new MainWindowController ();
|
//mainWindowController = new MainWindowController ();
|
||||||
mainWindowController.Window.MakeKeyAndOrderFront (this);
|
//mainWindowController.Window.MakeKeyAndOrderFront (this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -81,6 +81,10 @@
|
|||||||
<Compile Include="AppDelegate.designer.cs">
|
<Compile Include="AppDelegate.designer.cs">
|
||||||
<DependentUpon>AppDelegate.cs</DependentUpon>
|
<DependentUpon>AppDelegate.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
<Compile Include="AppController.cs" />
|
||||||
|
<Compile Include="AppController.designer.cs">
|
||||||
|
<DependentUpon>AppController.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<InterfaceDefinition Include="MainWindow.xib" />
|
<InterfaceDefinition Include="MainWindow.xib" />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user