From 66a9ef20e9538e6abe24d0867e5d228d9cfd3fba Mon Sep 17 00:00:00 2001 From: Luke Date: Sat, 22 Nov 2014 11:58:40 -0500 Subject: [PATCH] update mac files --- MediaBrowser.Server.Mac/AppDelegate.cs | 5 +- MediaBrowser.Server.Mac/Info.plist | 2 + MediaBrowser.Server.Mac/MainMenu.xib | 232 +++++++++++++++++++++---- 3 files changed, 202 insertions(+), 37 deletions(-) mode change 100644 => 100755 MediaBrowser.Server.Mac/MainMenu.xib diff --git a/MediaBrowser.Server.Mac/AppDelegate.cs b/MediaBrowser.Server.Mac/AppDelegate.cs index 2d4aff1455..b9578ac31d 100644 --- a/MediaBrowser.Server.Mac/AppDelegate.cs +++ b/MediaBrowser.Server.Mac/AppDelegate.cs @@ -8,7 +8,7 @@ namespace MediaBrowser.Server.Mac { public partial class AppDelegate : NSApplicationDelegate { - //MainWindowController mainWindowController; + MainWindowController mainWindowController; public AppDelegate () { @@ -16,8 +16,7 @@ namespace MediaBrowser.Server.Mac public override void FinishedLaunching (NSObject notification) { - //mainWindowController = new MainWindowController (); - //mainWindowController.Window.MakeKeyAndOrderFront (this); + } } } diff --git a/MediaBrowser.Server.Mac/Info.plist b/MediaBrowser.Server.Mac/Info.plist index 572d0362b2..44ebb72de8 100644 --- a/MediaBrowser.Server.Mac/Info.plist +++ b/MediaBrowser.Server.Mac/Info.plist @@ -10,6 +10,8 @@ 1 LSMinimumSystemVersion 10.6 + LSUIElement + 1 NSMainNibFile MainMenu NSPrincipalClass diff --git a/MediaBrowser.Server.Mac/MainMenu.xib b/MediaBrowser.Server.Mac/MainMenu.xib old mode 100644 new mode 100755 index ee95324d1e..322122487d --- a/MediaBrowser.Server.Mac/MainMenu.xib +++ b/MediaBrowser.Server.Mac/MainMenu.xib @@ -1,23 +1,31 @@ - + - 101000 - 13E28 - 6250 - 1265.21 - 698.00 + 1080 + 12C3006 + 2844 + 1187.34 + 625.00 com.apple.InterfaceBuilder.CocoaPlugin - 6250 + 2844 - + + YES NSCustomObject - - + NSMenu + NSMenuItem + + + YES com.apple.InterfaceBuilder.CocoaPlugin - - - + + + PluginDependencyRecalculationVersion + + + + YES NSApplication @@ -33,9 +41,41 @@ AppDelegate - + + AppController + + + + + YES + + + Hello World + + 2147483647 + + NSImage + NSMenuCheckmark + + + NSImage + NSMenuMixedState + + + + + Quit + + 2147483647 + + + + + + - + + YES delegate @@ -44,12 +84,39 @@ 534 - + + + terminate: + + + + 541 + + + + statusMenu + + + + 540 + + + + HelloWorld: + + + + 542 + + - + + YES 0 - + + YES + @@ -81,41 +148,138 @@ - + + 535 + + + + + 536 + + + YES + + + + + MediaBrowser.Server.Mac + + + 537 + + + + + 538 + + + + + + + YES + + YES + -1.IBPluginDependency + -2.IBPluginDependency + -3.IBPluginDependency + 420.IBPluginDependency + 533.IBPluginDependency + 535.IBPluginDependency + 536.IBPluginDependency + 537.IBPluginDependency + 538.IBPluginDependency + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + + + YES + + - - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - - + + YES + + + - 534 + 542 - + + YES + + AppController + NSObject + + HelloWorld: + id + + + HelloWorld: + + HelloWorld: + id + + + + statusMenu + NSMenu + + + statusMenu + + statusMenu + NSMenu + + + + IBProjectSource + ./Classes/AppController.h + + AppDelegate NSObject IBProjectSource - ../AppDelegate.h + ./Classes/AppDelegate.h - + 0 IBCocoaFramework - NO com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - + YES 3 + + YES + + YES + NSMenuCheckmark + NSMenuMixedState + + + YES + {11, 11} + {10, 3} + +