macosx: added an option to disable the native fullscreen mode on Lion
authorFelix Paul Kühne <fkuehne@videolan.org>
Sun, 21 Aug 2011 17:50:56 +0000 (19:50 +0200)
committerFelix Paul Kühne <fkuehne@videolan.org>
Sun, 21 Aug 2011 17:50:56 +0000 (19:50 +0200)
extras/package/macosx/Resources/English.lproj/Preferences.xib
extras/package/macosx/vlc.xcodeproj/project.pbxproj
modules/gui/macosx/AppleRemote.m
modules/gui/macosx/MainWindow.h
modules/gui/macosx/MainWindow.m
modules/gui/macosx/intf.h
modules/gui/macosx/intf.m
modules/gui/macosx/macosx.m
modules/gui/macosx/simple_prefs.h
modules/gui/macosx/simple_prefs.m

index 5e99a03..dfdd73e 100644 (file)
@@ -12,8 +12,9 @@
                </object>
                <object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
                        <bool key="EncodedWithXMLCoder">YES</bool>
-                       <integer value="2537"/>
                        <integer value="2269"/>
+                       <integer value="2537"/>
+                       <integer value="2311"/>
                </object>
                <object class="NSArray" key="IBDocument.PluginDependencies">
                        <bool key="EncodedWithXMLCoder">YES</bool>
@@ -890,14 +891,14 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                <string key="NSFrameAutosaveName">sprefs</string>
                        </object>
                        <object class="NSCustomView" id="1006472879">
-                               <nil key="NSNextResponder"/>
+                               <reference key="NSNextResponder"/>
                                <int key="NSvFlags">256</int>
                                <object class="NSMutableArray" key="NSSubviews">
                                        <bool key="EncodedWithXMLCoder">YES</bool>
                                        <object class="NSMatrix" id="189193142">
                                                <reference key="NSNextResponder" ref="1006472879"/>
                                                <int key="NSvFlags">268</int>
-                                               <string key="NSFrame">{{136, 314}, {232, 18}}</string>
+                                               <string key="NSFrame">{{136, 344}, {232, 18}}</string>
                                                <reference key="NSSuperview" ref="1006472879"/>
                                                <bool key="NSEnabled">YES</bool>
                                                <int key="NSNumRows">1</int>
@@ -996,7 +997,7 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                        <object class="NSPopUpButton" id="859326016">
                                                <reference key="NSNextResponder" ref="1006472879"/>
                                                <int key="NSvFlags">256</int>
-                                               <string key="NSFrame">{{133, 276}, {238, 26}}</string>
+                                               <string key="NSFrame">{{133, 306}, {238, 26}}</string>
                                                <reference key="NSSuperview" ref="1006472879"/>
                                                <bool key="NSEnabled">YES</bool>
                                                <object class="NSPopUpButtonCell" key="NSCell" id="81657752">
@@ -1076,7 +1077,7 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                        <object class="NSTextField" id="878046419">
                                                <reference key="NSNextResponder" ref="1006472879"/>
                                                <int key="NSvFlags">256</int>
-                                               <string key="NSFrame">{{17, 315}, {114, 17}}</string>
+                                               <string key="NSFrame">{{17, 345}, {114, 17}}</string>
                                                <reference key="NSSuperview" ref="1006472879"/>
                                                <bool key="NSEnabled">YES</bool>
                                                <object class="NSTextFieldCell" key="NSCell" id="735985578">
@@ -1092,7 +1093,7 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                        <object class="NSTextField" id="43373132">
                                                <reference key="NSNextResponder" ref="1006472879"/>
                                                <int key="NSvFlags">256</int>
-                                               <string key="NSFrame">{{17, 282}, {114, 17}}</string>
+                                               <string key="NSFrame">{{17, 312}, {114, 17}}</string>
                                                <reference key="NSSuperview" ref="1006472879"/>
                                                <bool key="NSEnabled">YES</bool>
                                                <object class="NSTextFieldCell" key="NSCell" id="791762070">
@@ -1277,10 +1278,32 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                <int key="NSTitlePosition">2</int>
                                                <bool key="NSTransparent">NO</bool>
                                        </object>
+                                       <object class="NSButton" id="89380742">
+                                               <reference key="NSNextResponder" ref="1006472879"/>
+                                               <int key="NSvFlags">256</int>
+                                               <string key="NSFrame">{{18, 248}, {534, 18}}</string>
+                                               <reference key="NSSuperview" ref="1006472879"/>
+                                               <bool key="NSEnabled">YES</bool>
+                                               <object class="NSButtonCell" key="NSCell" id="692113832">
+                                                       <int key="NSCellFlags">67239424</int>
+                                                       <int key="NSCellFlags2">0</int>
+                                                       <string key="NSContents">Use the native fullscreen mode on OS X Lion</string>
+                                                       <reference key="NSSupport" ref="96267115"/>
+                                                       <reference key="NSControlView" ref="89380742"/>
+                                                       <int key="NSButtonFlags">1211912703</int>
+                                                       <int key="NSButtonFlags2">2</int>
+                                                       <reference key="NSNormalImage" ref="487998105"/>
+                                                       <reference key="NSAlternateImage" ref="606027538"/>
+                                                       <string key="NSAlternateContents"/>
+                                                       <string key="NSKeyEquivalent"/>
+                                                       <int key="NSPeriodicDelay">200</int>
+                                                       <int key="NSPeriodicInterval">25</int>
+                                               </object>
+                                       </object>
                                        <object class="NSButton" id="847215559">
                                                <reference key="NSNextResponder" ref="1006472879"/>
                                                <int key="NSvFlags">256</int>
-                                               <string key="NSFrame">{{18, 246}, {352, 18}}</string>
+                                               <string key="NSFrame">{{18, 276}, {352, 18}}</string>
                                                <reference key="NSSuperview" ref="1006472879"/>
                                                <bool key="NSEnabled">YES</bool>
                                                <object class="NSButtonCell" key="NSCell" id="116125620">
@@ -1388,14 +1411,15 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                </object>
                                        </object>
                                </object>
-                               <string key="NSFrameSize">{570, 352}</string>
+                               <string key="NSFrameSize">{570, 382}</string>
+                               <reference key="NSSuperview"/>
                                <object class="NSMutableString" key="NSClassName">
                                        <characters key="NS.bytes">NSView</characters>
                                </object>
                                <string key="NSExtension">NSResponder</string>
                        </object>
                        <object class="NSCustomView" id="1030708865">
-                               <reference key="NSNextResponder"/>
+                               <nil key="NSNextResponder"/>
                                <int key="NSvFlags">256</int>
                                <object class="NSMutableArray" key="NSSubviews">
                                        <bool key="EncodedWithXMLCoder">YES</bool>
@@ -1404,7 +1428,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                <int key="NSvFlags">256</int>
                                                <string key="NSFrame">{{18, 366}, {246, 18}}</string>
                                                <reference key="NSSuperview" ref="1030708865"/>
-                                               <reference key="NSWindow"/>
                                                <bool key="NSEnabled">YES</bool>
                                                <object class="NSButtonCell" key="NSCell" id="771203121">
                                                        <int key="NSCellFlags">67239424</int>
@@ -1437,7 +1460,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                <int key="NSvFlags">256</int>
                                                                                <string key="NSFrame">{{9, 107}, {181, 17}}</string>
                                                                                <reference key="NSSuperview" ref="830950655"/>
-                                                                               <reference key="NSWindow"/>
                                                                                <bool key="NSEnabled">YES</bool>
                                                                                <object class="NSTextFieldCell" key="NSCell" id="659063941">
                                                                                        <int key="NSCellFlags">67239424</int>
@@ -1454,7 +1476,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                <int key="NSvFlags">256</int>
                                                                                <string key="NSFrame">{{250, 102}, {198, 21}}</string>
                                                                                <reference key="NSSuperview" ref="830950655"/>
-                                                                               <reference key="NSWindow"/>
                                                                                <bool key="NSEnabled">YES</bool>
                                                                                <object class="NSSliderCell" key="NSCell" id="180260830">
                                                                                        <int key="NSCellFlags">67239424</int>
@@ -1483,7 +1504,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                <int key="NSvFlags">256</int>
                                                                                <string key="NSFrame">{{465, 104}, {46, 22}}</string>
                                                                                <reference key="NSSuperview" ref="830950655"/>
-                                                                               <reference key="NSWindow"/>
                                                                                <bool key="NSEnabled">YES</bool>
                                                                                <object class="NSTextFieldCell" key="NSCell" id="996375599">
                                                                                        <int key="NSCellFlags">-1804468671</int>
@@ -1589,7 +1609,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                <int key="NSvFlags">256</int>
                                                                                <string key="NSFrame">{{10, 77}, {446, 18}}</string>
                                                                                <reference key="NSSuperview" ref="830950655"/>
-                                                                               <reference key="NSWindow"/>
                                                                                <bool key="NSEnabled">YES</bool>
                                                                                <object class="NSButtonCell" key="NSCell" id="296385450">
                                                                                        <int key="NSCellFlags">67239424</int>
@@ -1612,7 +1631,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                <int key="NSvFlags">256</int>
                                                                                <string key="NSFrame">{{9, 49}, {238, 17}}</string>
                                                                                <reference key="NSSuperview" ref="830950655"/>
-                                                                               <reference key="NSWindow"/>
                                                                                <bool key="NSEnabled">YES</bool>
                                                                                <object class="NSTextFieldCell" key="NSCell" id="817500630">
                                                                                        <int key="NSCellFlags">67239424</int>
@@ -1629,7 +1647,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                <int key="NSvFlags">256</int>
                                                                                <string key="NSFrame">{{249, 43}, {185, 26}}</string>
                                                                                <reference key="NSSuperview" ref="830950655"/>
-                                                                               <reference key="NSWindow"/>
                                                                                <bool key="NSEnabled">YES</bool>
                                                                                <object class="NSPopUpButtonCell" key="NSCell" id="325965286">
                                                                                        <int key="NSCellFlags">-2076049856</int>
@@ -1700,7 +1717,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                <int key="NSvFlags">256</int>
                                                                                <string key="NSFrame">{{9, 14}, {238, 17}}</string>
                                                                                <reference key="NSSuperview" ref="830950655"/>
-                                                                               <reference key="NSWindow"/>
                                                                                <bool key="NSEnabled">YES</bool>
                                                                                <object class="NSTextFieldCell" key="NSCell" id="508139988">
                                                                                        <int key="NSCellFlags">67239424</int>
@@ -1717,7 +1733,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                <int key="NSvFlags">256</int>
                                                                                <string key="NSFrame">{{252, 12}, {259, 22}}</string>
                                                                                <reference key="NSSuperview" ref="830950655"/>
-                                                                               <reference key="NSWindow"/>
                                                                                <bool key="NSEnabled">YES</bool>
                                                                                <object class="NSTextFieldCell" key="NSCell" id="879009110">
                                                                                        <int key="NSCellFlags">-1803944383</int>
@@ -1733,12 +1748,10 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                </object>
                                                                <string key="NSFrame">{{2, 2}, {531, 138}}</string>
                                                                <reference key="NSSuperview" ref="426339738"/>
-                                                               <reference key="NSWindow"/>
                                                        </object>
                                                </object>
                                                <string key="NSFrame">{{17, 205}, {535, 155}}</string>
                                                <reference key="NSSuperview" ref="1030708865"/>
-                                               <reference key="NSWindow"/>
                                                <string key="NSOffsets">{0, 0}</string>
                                                <object class="NSTextFieldCell" key="NSTitleCell">
                                                        <int key="NSCellFlags">67239424</int>
@@ -1772,7 +1785,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                <int key="NSvFlags">256</int>
                                                                                <string key="NSFrame">{{9, 14}, {238, 17}}</string>
                                                                                <reference key="NSSuperview" ref="1026306433"/>
-                                                                               <reference key="NSWindow"/>
                                                                                <bool key="NSEnabled">YES</bool>
                                                                                <object class="NSTextFieldCell" key="NSCell" id="636469135">
                                                                                        <int key="NSCellFlags">67239424</int>
@@ -1789,7 +1801,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                <int key="NSvFlags">256</int>
                                                                                <string key="NSFrame">{{249, 9}, {185, 26}}</string>
                                                                                <reference key="NSSuperview" ref="1026306433"/>
-                                                                               <reference key="NSWindow"/>
                                                                                <bool key="NSEnabled">YES</bool>
                                                                                <object class="NSPopUpButtonCell" key="NSCell" id="473294496">
                                                                                        <int key="NSCellFlags">-2076049856</int>
@@ -1858,12 +1869,10 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                </object>
                                                                <string key="NSFrame">{{2, 2}, {531, 43}}</string>
                                                                <reference key="NSSuperview" ref="376706301"/>
-                                                               <reference key="NSWindow"/>
                                                        </object>
                                                </object>
                                                <string key="NSFrame">{{17, 141}, {535, 60}}</string>
                                                <reference key="NSSuperview" ref="1030708865"/>
-                                               <reference key="NSWindow"/>
                                                <string key="NSOffsets">{0, 0}</string>
                                                <object class="NSTextFieldCell" key="NSTitleCell">
                                                        <int key="NSCellFlags">67239424</int>
@@ -1897,7 +1906,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                <int key="NSvFlags">256</int>
                                                                                <string key="NSFrame">{{14, 78}, {446, 18}}</string>
                                                                                <reference key="NSSuperview" ref="766648432"/>
-                                                                               <reference key="NSWindow"/>
                                                                                <bool key="NSEnabled">YES</bool>
                                                                                <object class="NSButtonCell" key="NSCell" id="652619151">
                                                                                        <int key="NSCellFlags">67239424</int>
@@ -1920,7 +1928,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                <int key="NSvFlags">256</int>
                                                                                <string key="NSFrame">{{204, 50}, {307, 22}}</string>
                                                                                <reference key="NSSuperview" ref="766648432"/>
-                                                                               <reference key="NSWindow"/>
                                                                                <bool key="NSEnabled">YES</bool>
                                                                                <object class="NSTextFieldCell" key="NSCell" id="686683389">
                                                                                        <int key="NSCellFlags">-1267073471</int>
@@ -1938,7 +1945,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                <int key="NSvFlags">256</int>
                                                                                <string key="NSFrame">{{13, 20}, {186, 17}}</string>
                                                                                <reference key="NSSuperview" ref="766648432"/>
-                                                                               <reference key="NSWindow"/>
                                                                                <bool key="NSEnabled">YES</bool>
                                                                                <object class="NSTextFieldCell" key="NSCell" id="844982292">
                                                                                        <int key="NSCellFlags">67239424</int>
@@ -1955,7 +1961,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                <int key="NSvFlags">256</int>
                                                                                <string key="NSFrame">{{204, 18}, {307, 22}}</string>
                                                                                <reference key="NSSuperview" ref="766648432"/>
-                                                                               <reference key="NSWindow"/>
                                                                                <bool key="NSEnabled">YES</bool>
                                                                                <object class="NSTextFieldCell" key="NSCell" id="655403659">
                                                                                        <int key="NSCellFlags">-1267073471</int>
@@ -1973,7 +1978,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                <int key="NSvFlags">256</int>
                                                                                <string key="NSFrame">{{13, 52}, {186, 17}}</string>
                                                                                <reference key="NSSuperview" ref="766648432"/>
-                                                                               <reference key="NSWindow"/>
                                                                                <bool key="NSEnabled">YES</bool>
                                                                                <object class="NSTextFieldCell" key="NSCell" id="126214203">
                                                                                        <int key="NSCellFlags">67239424</int>
@@ -1988,12 +1992,10 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                </object>
                                                                <string key="NSFrame">{{2, 2}, {531, 105}}</string>
                                                                <reference key="NSSuperview" ref="141205708"/>
-                                                               <reference key="NSWindow"/>
                                                        </object>
                                                </object>
                                                <string key="NSFrame">{{17, 15}, {535, 122}}</string>
                                                <reference key="NSSuperview" ref="1030708865"/>
-                                               <reference key="NSWindow"/>
                                                <string key="NSOffsets">{0, 0}</string>
                                                <object class="NSTextFieldCell" key="NSTitleCell">
                                                        <int key="NSCellFlags">67239424</int>
@@ -2014,8 +2016,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                        </object>
                                </object>
                                <string key="NSFrameSize">{569, 402}</string>
-                               <reference key="NSSuperview"/>
-                               <reference key="NSWindow"/>
                                <string key="NSClassName">NSView</string>
                                <string key="NSExtension">NSResponder</string>
                        </object>
@@ -2023,7 +2023,7 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                <string key="NSClassName">VLCSimplePrefs</string>
                        </object>
                        <object class="NSCustomView" id="93793481">
-                               <reference key="NSNextResponder"/>
+                               <nil key="NSNextResponder"/>
                                <int key="NSvFlags">256</int>
                                <object class="NSMutableArray" key="NSSubviews">
                                        <bool key="EncodedWithXMLCoder">YES</bool>
@@ -2032,7 +2032,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                <int key="NSvFlags">256</int>
                                                <string key="NSFrame">{{18, 311}, {352, 18}}</string>
                                                <reference key="NSSuperview" ref="93793481"/>
-                                               <reference key="NSWindow"/>
                                                <bool key="NSEnabled">YES</bool>
                                                <object class="NSButtonCell" key="NSCell" id="742440153">
                                                        <int key="NSCellFlags">67239424</int>
@@ -2065,7 +2064,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                <int key="NSvFlags">256</int>
                                                                                <string key="NSFrame">{{14, 82}, {248, 18}}</string>
                                                                                <reference key="NSSuperview" ref="1033161365"/>
-                                                                               <reference key="NSWindow"/>
                                                                                <bool key="NSEnabled">YES</bool>
                                                                                <object class="NSButtonCell" key="NSCell" id="276074995">
                                                                                        <int key="NSCellFlags">67239424</int>
@@ -2088,7 +2086,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                <int key="NSvFlags">256</int>
                                                                                <string key="NSFrame">{{14, 107}, {248, 18}}</string>
                                                                                <reference key="NSSuperview" ref="1033161365"/>
-                                                                               <reference key="NSWindow"/>
                                                                                <bool key="NSEnabled">YES</bool>
                                                                                <object class="NSButtonCell" key="NSCell" id="186587822">
                                                                                        <int key="NSCellFlags">67239424</int>
@@ -2111,7 +2108,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                <int key="NSvFlags">256</int>
                                                                                <string key="NSFrame">{{270, 107}, {248, 18}}</string>
                                                                                <reference key="NSSuperview" ref="1033161365"/>
-                                                                               <reference key="NSWindow"/>
                                                                                <bool key="NSEnabled">YES</bool>
                                                                                <object class="NSButtonCell" key="NSCell" id="870949400">
                                                                                        <int key="NSCellFlags">67239424</int>
@@ -2134,7 +2130,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                <int key="NSvFlags">256</int>
                                                                                <string key="NSFrame">{{270, 82}, {248, 18}}</string>
                                                                                <reference key="NSSuperview" ref="1033161365"/>
-                                                                               <reference key="NSWindow"/>
                                                                                <bool key="NSEnabled">YES</bool>
                                                                                <object class="NSButtonCell" key="NSCell" id="981263787">
                                                                                        <int key="NSCellFlags">67239424</int>
@@ -2157,7 +2152,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                <int key="NSvFlags">256</int>
                                                                                <string key="NSFrame">{{182, 35}, {258, 26}}</string>
                                                                                <reference key="NSSuperview" ref="1033161365"/>
-                                                                               <reference key="NSWindow"/>
                                                                                <bool key="NSEnabled">YES</bool>
                                                                                <object class="NSPopUpButtonCell" key="NSCell" id="1046768495">
                                                                                        <int key="NSCellFlags">-2076049856</int>
@@ -2228,7 +2222,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                <int key="NSvFlags">256</int>
                                                                                <string key="NSFrame">{{13, 42}, {167, 17}}</string>
                                                                                <reference key="NSSuperview" ref="1033161365"/>
-                                                                               <reference key="NSWindow"/>
                                                                                <bool key="NSEnabled">YES</bool>
                                                                                <object class="NSTextFieldCell" key="NSCell" id="187019491">
                                                                                        <int key="NSCellFlags">67239424</int>
@@ -2245,7 +2238,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                <int key="NSvFlags">256</int>
                                                                                <string key="NSFrame">{{182, 7}, {258, 26}}</string>
                                                                                <reference key="NSSuperview" ref="1033161365"/>
-                                                                               <reference key="NSWindow"/>
                                                                                <bool key="NSEnabled">YES</bool>
                                                                                <object class="NSPopUpButtonCell" key="NSCell" id="22192994">
                                                                                        <int key="NSCellFlags">-2076049856</int>
@@ -2316,7 +2308,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                <int key="NSvFlags">256</int>
                                                                                <string key="NSFrame">{{13, 14}, {167, 17}}</string>
                                                                                <reference key="NSSuperview" ref="1033161365"/>
-                                                                               <reference key="NSWindow"/>
                                                                                <bool key="NSEnabled">YES</bool>
                                                                                <object class="NSTextFieldCell" key="NSCell" id="367279322">
                                                                                        <int key="NSCellFlags">67239424</int>
@@ -2331,12 +2322,10 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                </object>
                                                                <string key="NSFrame">{{2, 2}, {532, 134}}</string>
                                                                <reference key="NSSuperview" ref="41906812"/>
-                                                               <reference key="NSWindow"/>
                                                        </object>
                                                </object>
                                                <string key="NSFrame">{{17, 144}, {536, 151}}</string>
                                                <reference key="NSSuperview" ref="93793481"/>
-                                               <reference key="NSWindow"/>
                                                <string key="NSOffsets">{0, 0}</string>
                                                <object class="NSTextFieldCell" key="NSTitleCell">
                                                        <int key="NSCellFlags">67239424</int>
@@ -2370,7 +2359,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                <int key="NSvFlags">256</int>
                                                                                <string key="NSFrame">{{80, 67}, {305, 22}}</string>
                                                                                <reference key="NSSuperview" ref="55664769"/>
-                                                                               <reference key="NSWindow"/>
                                                                                <bool key="NSEnabled">YES</bool>
                                                                                <object class="NSTextFieldCell" key="NSCell" id="699641150">
                                                                                        <int key="NSCellFlags">-1803944383</int>
@@ -2388,7 +2376,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                <int key="NSvFlags">256</int>
                                                                                <string key="NSFrame">{{13, 70}, {62, 17}}</string>
                                                                                <reference key="NSSuperview" ref="55664769"/>
-                                                                               <reference key="NSWindow"/>
                                                                                <bool key="NSEnabled">YES</bool>
                                                                                <object class="NSTextFieldCell" key="NSCell" id="434000366">
                                                                                        <int key="NSCellFlags">67239424</int>
@@ -2405,7 +2392,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                <int key="NSvFlags">256</int>
                                                                                <string key="NSFrame">{{387, 61}, {135, 32}}</string>
                                                                                <reference key="NSSuperview" ref="55664769"/>
-                                                                               <reference key="NSWindow"/>
                                                                                <bool key="NSEnabled">YES</bool>
                                                                                <object class="NSButtonCell" key="NSCell" id="663661774">
                                                                                        <int key="NSCellFlags">67239424</int>
@@ -2429,7 +2415,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                <int key="NSvFlags">256</int>
                                                                                <string key="NSFrame">{{80, 40}, {209, 22}}</string>
                                                                                <reference key="NSSuperview" ref="55664769"/>
-                                                                               <reference key="NSWindow"/>
                                                                                <bool key="NSEnabled">YES</bool>
                                                                                <object class="NSTextFieldCell" key="NSCell" id="443397958">
                                                                                        <int key="NSCellFlags">-1803944383</int>
@@ -2447,7 +2432,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                <int key="NSvFlags">256</int>
                                                                                <string key="NSFrame">{{13, 43}, {62, 17}}</string>
                                                                                <reference key="NSSuperview" ref="55664769"/>
-                                                                               <reference key="NSWindow"/>
                                                                                <bool key="NSEnabled">YES</bool>
                                                                                <object class="NSTextFieldCell" key="NSCell" id="508540852">
                                                                                        <int key="NSCellFlags">67239424</int>
@@ -2464,7 +2448,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                <int key="NSvFlags">256</int>
                                                                                <string key="NSFrame">{{295, 43}, {223, 18}}</string>
                                                                                <reference key="NSSuperview" ref="55664769"/>
-                                                                               <reference key="NSWindow"/>
                                                                                <bool key="NSEnabled">YES</bool>
                                                                                <object class="NSButtonCell" key="NSCell" id="628742555">
                                                                                        <int key="NSCellFlags">67239424</int>
@@ -2487,7 +2470,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                <int key="NSvFlags">256</int>
                                                                                <string key="NSFrame">{{13, 14}, {62, 17}}</string>
                                                                                <reference key="NSSuperview" ref="55664769"/>
-                                                                               <reference key="NSWindow"/>
                                                                                <bool key="NSEnabled">YES</bool>
                                                                                <object class="NSTextFieldCell" key="NSCell" id="951536946">
                                                                                        <int key="NSCellFlags">67239424</int>
@@ -2504,7 +2486,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                <int key="NSvFlags">256</int>
                                                                                <string key="NSFrame">{{77, 8}, {215, 26}}</string>
                                                                                <reference key="NSSuperview" ref="55664769"/>
-                                                                               <reference key="NSWindow"/>
                                                                                <bool key="NSEnabled">YES</bool>
                                                                                <object class="NSPopUpButtonCell" key="NSCell" id="928064593">
                                                                                        <int key="NSCellFlags">-2076049856</int>
@@ -2562,12 +2543,10 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                </object>
                                                                <string key="NSFrame">{{2, 2}, {532, 99}}</string>
                                                                <reference key="NSSuperview" ref="38593497"/>
-                                                               <reference key="NSWindow"/>
                                                        </object>
                                                </object>
                                                <string key="NSFrame">{{17, 16}, {536, 116}}</string>
                                                <reference key="NSSuperview" ref="93793481"/>
-                                               <reference key="NSWindow"/>
                                                <string key="NSOffsets">{0, 0}</string>
                                                <object class="NSTextFieldCell" key="NSTitleCell">
                                                        <int key="NSCellFlags">67239424</int>
@@ -2588,8 +2567,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                        </object>
                                </object>
                                <string key="NSFrameSize">{570, 347}</string>
-                               <reference key="NSSuperview"/>
-                               <reference key="NSWindow"/>
                                <string key="NSClassName">NSView</string>
                                <string key="NSExtension">NSResponder</string>
                        </object>
@@ -3190,7 +3167,7 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                <string key="NSExtension">NSResponder</string>
                        </object>
                        <object class="NSCustomView" id="127370005">
-                               <reference key="NSNextResponder"/>
+                               <nil key="NSNextResponder"/>
                                <int key="NSvFlags">256</int>
                                <object class="NSMutableArray" key="NSSubviews">
                                        <bool key="EncodedWithXMLCoder">YES</bool>
@@ -3209,7 +3186,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                <int key="NSvFlags">256</int>
                                                                                <string key="NSFrame">{{18, 14}, {369, 22}}</string>
                                                                                <reference key="NSSuperview" ref="67619185"/>
-                                                                               <reference key="NSWindow"/>
                                                                                <bool key="NSEnabled">YES</bool>
                                                                                <object class="NSTextFieldCell" key="NSCell" id="722268488">
                                                                                        <int key="NSCellFlags">-1803944383</int>
@@ -3227,7 +3203,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                <int key="NSvFlags">256</int>
                                                                                <string key="NSFrame">{{389, 8}, {135, 32}}</string>
                                                                                <reference key="NSSuperview" ref="67619185"/>
-                                                                               <reference key="NSWindow"/>
                                                                                <bool key="NSEnabled">YES</bool>
                                                                                <object class="NSButtonCell" key="NSCell" id="695135397">
                                                                                        <int key="NSCellFlags">67239424</int>
@@ -3249,12 +3224,10 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                </object>
                                                                <string key="NSFrame">{{1, 1}, {536, 46}}</string>
                                                                <reference key="NSSuperview" ref="886591955"/>
-                                                               <reference key="NSWindow"/>
                                                        </object>
                                                </object>
                                                <string key="NSFrame">{{16, 345}, {538, 62}}</string>
                                                <reference key="NSSuperview" ref="127370005"/>
-                                               <reference key="NSWindow"/>
                                                <string key="NSOffsets">{0, 0}</string>
                                                <object class="NSTextFieldCell" key="NSTitleCell">
                                                        <int key="NSCellFlags">67239424</int>
@@ -3288,7 +3261,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                <int key="NSvFlags">256</int>
                                                                                <string key="NSFrame">{{13, 43}, {204, 17}}</string>
                                                                                <reference key="NSSuperview" ref="71852276"/>
-                                                                               <reference key="NSWindow"/>
                                                                                <bool key="NSEnabled">YES</bool>
                                                                                <object class="NSTextFieldCell" key="NSCell" id="17261147">
                                                                                        <int key="NSCellFlags">67239424</int>
@@ -3305,7 +3277,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                <int key="NSvFlags">256</int>
                                                                                <string key="NSFrame">{{222, 41}, {290, 22}}</string>
                                                                                <reference key="NSSuperview" ref="71852276"/>
-                                                                               <reference key="NSWindow"/>
                                                                                <bool key="NSEnabled">YES</bool>
                                                                                <object class="NSTextFieldCell" key="NSCell" id="541454770">
                                                                                        <int key="NSCellFlags">-1803944383</int>
@@ -3323,7 +3294,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                <int key="NSvFlags">256</int>
                                                                                <string key="NSFrame">{{14, 15}, {204, 17}}</string>
                                                                                <reference key="NSSuperview" ref="71852276"/>
-                                                                               <reference key="NSWindow"/>
                                                                                <bool key="NSEnabled">YES</bool>
                                                                                <object class="NSTextFieldCell" key="NSCell" id="368625871">
                                                                                        <int key="NSCellFlags">67239424</int>
@@ -3340,7 +3310,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                <int key="NSvFlags">256</int>
                                                                                <string key="NSFrame">{{222, 13}, {290, 22}}</string>
                                                                                <reference key="NSSuperview" ref="71852276"/>
-                                                                               <reference key="NSWindow"/>
                                                                                <bool key="NSEnabled">YES</bool>
                                                                                <object class="NSTextFieldCell" key="NSCell" id="716901297">
                                                                                        <int key="NSCellFlags">-1803944383</int>
@@ -3356,12 +3325,10 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                </object>
                                                                <string key="NSFrame">{{2, 2}, {532, 73}}</string>
                                                                <reference key="NSSuperview" ref="247116589"/>
-                                                               <reference key="NSWindow"/>
                                                        </object>
                                                </object>
                                                <string key="NSFrame">{{17, 251}, {536, 90}}</string>
                                                <reference key="NSSuperview" ref="127370005"/>
-                                               <reference key="NSWindow"/>
                                                <string key="NSOffsets">{0, 0}</string>
                                                <object class="NSTextFieldCell" key="NSTitleCell">
                                                        <int key="NSCellFlags">67239424</int>
@@ -3395,7 +3362,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                <int key="NSvFlags">256</int>
                                                                                <string key="NSFrame">{{320, 97}, {58, 22}}</string>
                                                                                <reference key="NSSuperview" ref="602221378"/>
-                                                                               <reference key="NSWindow"/>
                                                                                <bool key="NSEnabled">YES</bool>
                                                                                <object class="NSTextFieldCell" key="NSCell" id="587285377">
                                                                                        <int key="NSCellFlags">-1803944383</int>
@@ -3492,7 +3458,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                <int key="NSvFlags">256</int>
                                                                                <string key="NSFrame">{{383, 94}, {19, 27}}</string>
                                                                                <reference key="NSSuperview" ref="602221378"/>
-                                                                               <reference key="NSWindow"/>
                                                                                <bool key="NSEnabled">YES</bool>
                                                                                <object class="NSStepperCell" key="NSCell" id="724054307">
                                                                                        <int key="NSCellFlags">917024</int>
@@ -3509,7 +3474,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                <int key="NSvFlags">256</int>
                                                                                <string key="NSFrame">{{13, 100}, {246, 17}}</string>
                                                                                <reference key="NSSuperview" ref="602221378"/>
-                                                                               <reference key="NSWindow"/>
                                                                                <bool key="NSEnabled">YES</bool>
                                                                                <object class="NSTextFieldCell" key="NSCell" id="466410222">
                                                                                        <int key="NSCellFlags">67239424</int>
@@ -3526,7 +3490,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                <int key="NSvFlags">256</int>
                                                                                <string key="NSFrame">{{13, 68}, {246, 17}}</string>
                                                                                <reference key="NSSuperview" ref="602221378"/>
-                                                                               <reference key="NSWindow"/>
                                                                                <bool key="NSEnabled">YES</bool>
                                                                                <object class="NSTextFieldCell" key="NSCell" id="517911966">
                                                                                        <int key="NSCellFlags">67239424</int>
@@ -3543,7 +3506,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                <int key="NSvFlags">256</int>
                                                                                <string key="NSFrame">{{317, 62}, {202, 26}}</string>
                                                                                <reference key="NSSuperview" ref="602221378"/>
-                                                                               <reference key="NSWindow"/>
                                                                                <bool key="NSEnabled">YES</bool>
                                                                                <object class="NSPopUpButtonCell" key="NSCell" id="64039465">
                                                                                        <int key="NSCellFlags">-2076049856</int>
@@ -3614,7 +3576,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                <int key="NSvFlags">256</int>
                                                                                <string key="NSFrame">{{14, 36}, {256, 18}}</string>
                                                                                <reference key="NSSuperview" ref="602221378"/>
-                                                                               <reference key="NSWindow"/>
                                                                                <bool key="NSEnabled">YES</bool>
                                                                                <object class="NSButtonCell" key="NSCell" id="377406564">
                                                                                        <int key="NSCellFlags">67239424</int>
@@ -3636,7 +3597,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                <int key="NSvFlags">256</int>
                                                                                <string key="NSFrame">{{13, 12}, {302, 17}}</string>
                                                                                <reference key="NSSuperview" ref="602221378"/>
-                                                                               <reference key="NSWindow"/>
                                                                                <bool key="NSEnabled">YES</bool>
                                                                                <object class="NSTextFieldCell" key="NSCell" id="211186523">
                                                                                        <int key="NSCellFlags">67239424</int>
@@ -3653,7 +3613,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                <int key="NSvFlags">256</int>
                                                                                <string key="NSFrame">{{317, 6}, {202, 26}}</string>
                                                                                <reference key="NSSuperview" ref="602221378"/>
-                                                                               <reference key="NSWindow"/>
                                                                                <bool key="NSEnabled">YES</bool>
                                                                                <object class="NSPopUpButtonCell" key="NSCell" id="1042014747">
                                                                                        <int key="NSCellFlags">-2076049856</int>
@@ -3722,12 +3681,10 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                </object>
                                                                <string key="NSFrame">{{2, 2}, {532, 131}}</string>
                                                                <reference key="NSSuperview" ref="980937121"/>
-                                                               <reference key="NSWindow"/>
                                                        </object>
                                                </object>
                                                <string key="NSFrame">{{17, 16}, {536, 148}}</string>
                                                <reference key="NSSuperview" ref="127370005"/>
-                                               <reference key="NSWindow"/>
                                                <string key="NSOffsets">{0, 0}</string>
                                                <object class="NSTextFieldCell" key="NSTitleCell">
                                                        <int key="NSCellFlags">67239424</int>
@@ -3761,7 +3718,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                <int key="NSvFlags">256</int>
                                                                                <string key="NSFrame">{{317, 27}, {202, 26}}</string>
                                                                                <reference key="NSSuperview" ref="488052292"/>
-                                                                               <reference key="NSWindow"/>
                                                                                <bool key="NSEnabled">YES</bool>
                                                                                <object class="NSPopUpButtonCell" key="NSCell" id="369526741">
                                                                                        <int key="NSCellFlags">-2076049856</int>
@@ -3832,7 +3788,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                <int key="NSvFlags">256</int>
                                                                                <string key="NSFrame">{{14, 33}, {301, 17}}</string>
                                                                                <reference key="NSSuperview" ref="488052292"/>
-                                                                               <reference key="NSWindow"/>
                                                                                <bool key="NSEnabled">YES</bool>
                                                                                <object class="NSTextFieldCell" key="NSCell" id="86555432">
                                                                                        <int key="NSCellFlags">67239424</int>
@@ -3849,7 +3804,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                <int key="NSvFlags">268</int>
                                                                                <string key="NSFrame">{{14, 13}, {504, 12}}</string>
                                                                                <reference key="NSSuperview" ref="488052292"/>
-                                                                               <reference key="NSWindow"/>
                                                                                <bool key="NSEnabled">YES</bool>
                                                                                <object class="NSTextFieldCell" key="NSCell" id="410251165">
                                                                                        <int key="NSCellFlags">67239424</int>
@@ -3868,12 +3822,10 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                </object>
                                                                <string key="NSFrame">{{2, 2}, {532, 62}}</string>
                                                                <reference key="NSSuperview" ref="30634034"/>
-                                                               <reference key="NSWindow"/>
                                                        </object>
                                                </object>
                                                <string key="NSFrame">{{17, 168}, {536, 79}}</string>
                                                <reference key="NSSuperview" ref="127370005"/>
-                                               <reference key="NSWindow"/>
                                                <string key="NSOffsets">{0, 0}</string>
                                                <object class="NSTextFieldCell" key="NSTitleCell">
                                                        <int key="NSCellFlags">67239424</int>
@@ -3894,8 +3846,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                        </object>
                                </object>
                                <string key="NSFrameSize">{570, 427}</string>
-                               <reference key="NSSuperview"/>
-                               <reference key="NSWindow"/>
                                <string key="NSClassName">NSView</string>
                                <string key="NSExtension">NSResponder</string>
                        </object>
@@ -5890,6 +5840,22 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                        </object>
                                        <int key="connectionID">3630</int>
                                </object>
+                               <object class="IBConnectionRecord">
+                                       <object class="IBOutletConnection" key="connection">
+                                               <string key="label">o_intf_nativefullscreen_ckb</string>
+                                               <reference key="source" ref="150917409"/>
+                                               <reference key="destination" ref="89380742"/>
+                                       </object>
+                                       <int key="connectionID">3634</int>
+                               </object>
+                               <object class="IBConnectionRecord">
+                                       <object class="IBActionConnection" key="connection">
+                                               <string key="label">interfaceSettingChanged:</string>
+                                               <reference key="source" ref="150917409"/>
+                                               <reference key="destination" ref="89380742"/>
+                                       </object>
+                                       <int key="connectionID">3635</int>
+                               </object>
                        </object>
                        <object class="IBMutableOrderedSet" key="objectRecords">
                                <object class="NSArray" key="orderedObjects">
@@ -6067,16 +6033,17 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                <reference key="object" ref="1006472879"/>
                                                <object class="NSMutableArray" key="children">
                                                        <bool key="EncodedWithXMLCoder">YES</bool>
-                                                       <reference ref="466212214"/>
-                                                       <reference ref="739265565"/>
-                                                       <reference ref="492678965"/>
-                                                       <reference ref="394303792"/>
                                                        <reference ref="847215559"/>
-                                                       <reference ref="698552329"/>
                                                        <reference ref="43373132"/>
                                                        <reference ref="859326016"/>
                                                        <reference ref="878046419"/>
                                                        <reference ref="189193142"/>
+                                                       <reference ref="466212214"/>
+                                                       <reference ref="739265565"/>
+                                                       <reference ref="492678965"/>
+                                                       <reference ref="394303792"/>
+                                                       <reference ref="698552329"/>
+                                                       <reference ref="89380742"/>
                                                </object>
                                                <reference key="parent" ref="0"/>
                                                <string key="objectName">Interface</string>
@@ -8213,6 +8180,20 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                <reference key="object" ref="695135397"/>
                                                <reference key="parent" ref="1031034723"/>
                                        </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">3631</int>
+                                               <reference key="object" ref="89380742"/>
+                                               <object class="NSMutableArray" key="children">
+                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                                       <reference ref="692113832"/>
+                                               </object>
+                                               <reference key="parent" ref="1006472879"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">3632</int>
+                                               <reference key="object" ref="692113832"/>
+                                               <reference key="parent" ref="89380742"/>
+                                       </object>
                                </object>
                        </object>
                        <object class="NSMutableDictionary" key="flattenedProperties">
@@ -8760,6 +8741,10 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                        <string>3617.IBPluginDependency</string>
                                        <string>3619.IBPluginDependency</string>
                                        <string>3623.IBViewBoundsToFrameTransform</string>
+                                       <string>3631.IBPluginDependency</string>
+                                       <string>3631.IBViewBoundsToFrameTransform</string>
+                                       <string>3631.ImportedFromIB2</string>
+                                       <string>3632.IBPluginDependency</string>
                                </object>
                                <object class="NSMutableArray" key="dict.values">
                                        <bool key="EncodedWithXMLCoder">YES</bool>
@@ -8809,7 +8794,7 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                        <boolean value="YES"/>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                                        <boolean value="YES"/>
-                                       <string>{{362, 96}, {570, 352}}</string>
+                                       <string>{{345, 171}, {570, 382}}</string>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                                        <object class="NSAffineTransform"/>
                                        <boolean value="YES"/>
@@ -8833,7 +8818,7 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                        <boolean value="YES"/>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                                        <object class="NSAffineTransform">
-                                               <bytes key="NSTransformStruct">AUGIAABCTAAAA</bytes>
+                                               <bytes key="NSTransformStruct">AUGIAABCPAAAA</bytes>
                                        </object>
                                        <boolean value="YES"/>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
@@ -8850,7 +8835,7 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                        <boolean value="YES"/>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                                        <object class="NSAffineTransform">
-                                               <bytes key="NSTransformStruct">P4AAAL+AAABBkAAAw5IAAA</bytes>
+                                               <bytes key="NSTransformStruct">P4AAAL+AAABBkAAAw5KAAA</bytes>
                                        </object>
                                        <boolean value="YES"/>
                                        <string>{{329, 320}, {569, 402}}</string>
@@ -8942,7 +8927,7 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                        <boolean value="YES"/>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                                        <object class="NSAffineTransform">
-                                               <bytes key="NSTransformStruct">P4AAAL+AAABBkAAAw4WAAA</bytes>
+                                               <bytes key="NSTransformStruct">P4AAAL+AAABBkAAAw4YAAA</bytes>
                                        </object>
                                        <boolean value="YES"/>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
@@ -9296,12 +9281,12 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                        <boolean value="YES"/>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                                        <object class="NSAffineTransform">
-                                               <bytes key="NSTransformStruct">P4AAAL+AAABBkAAAw3AAAA</bytes>
+                                               <bytes key="NSTransformStruct">P4AAAL+AAABBkAAAw3EAAA</bytes>
                                        </object>
                                        <boolean value="YES"/>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                                        <object class="NSAffineTransform">
-                                               <bytes key="NSTransformStruct">P4AAAL+AAABBkAAAw1UAAA</bytes>
+                                               <bytes key="NSTransformStruct">P4AAAL+AAABBkAAAw1YAAA</bytes>
                                        </object>
                                        <boolean value="YES"/>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
@@ -9315,7 +9300,7 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                                        <object class="NSAffineTransform">
-                                               <bytes key="NSTransformStruct">P4AAAL+AAABBkAAAwzoAAA</bytes>
+                                               <bytes key="NSTransformStruct">P4AAAL+AAABBkAAAwzsAAA</bytes>
                                        </object>
                                        <boolean value="YES"/>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
@@ -9374,6 +9359,12 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                        <object class="NSAffineTransform">
                                                <bytes key="NSTransformStruct">AUGAAABDtwAAA</bytes>
                                        </object>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <object class="NSAffineTransform">
+                                               <bytes key="NSTransformStruct">P4AAAL+AAABBuAAAw5AAAA</bytes>
+                                       </object>
+                                       <boolean value="YES"/>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                                </object>
                        </object>
                        <object class="NSMutableDictionary" key="unlocalizedProperties">
@@ -9392,7 +9383,7 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                </object>
                        </object>
                        <nil key="sourceID"/>
-                       <int key="maxID">3630</int>
+                       <int key="maxID">3635</int>
                </object>
                <object class="IBClassDescriber" key="IBDocument.Classes">
                        <object class="NSMutableArray" key="referencedPartialClassDescriptions">
@@ -10673,6 +10664,7 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                        <string>o_intf_lang_txt</string>
                                                        <string>o_intf_last_update_lbl</string>
                                                        <string>o_intf_mediakeys_ckb</string>
+                                                       <string>o_intf_nativefullscreen_ckb</string>
                                                        <string>o_intf_network_box</string>
                                                        <string>o_intf_style_bright_bcell</string>
                                                        <string>o_intf_style_dark_bcell</string>
@@ -10847,6 +10839,7 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                        <string>id</string>
                                                        <string>id</string>
                                                        <string>id</string>
+                                                       <string>id</string>
                                                </object>
                                        </object>
                                        <object class="NSMutableDictionary" key="toOneOutletInfosByName">
@@ -10916,6 +10909,7 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                        <string>o_intf_lang_txt</string>
                                                        <string>o_intf_last_update_lbl</string>
                                                        <string>o_intf_mediakeys_ckb</string>
+                                                       <string>o_intf_nativefullscreen_ckb</string>
                                                        <string>o_intf_network_box</string>
                                                        <string>o_intf_style_bright_bcell</string>
                                                        <string>o_intf_style_dark_bcell</string>
@@ -11225,6 +11219,10 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                <string key="name">o_intf_mediakeys_ckb</string>
                                                                <string key="candidateClassName">id</string>
                                                        </object>
+                                                       <object class="IBToOneOutletInfo">
+                                                               <string key="name">o_intf_nativefullscreen_ckb</string>
+                                                               <string key="candidateClassName">id</string>
+                                                       </object>
                                                        <object class="IBToOneOutletInfo">
                                                                <string key="name">o_intf_network_box</string>
                                                                <string key="candidateClassName">id</string>
index 2e51fce..1a9a88f 100644 (file)
                CC448A6313B68A0B009F72E0 /* MainWindow.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MainWindow.m; path = ../../../modules/gui/macosx/MainWindow.m; sourceTree = "<group>"; };
                CC4A33210F8CB017000FC4A7 /* coredialogs.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = coredialogs.m; path = ../../../modules/gui/macosx/coredialogs.m; sourceTree = SOURCE_ROOT; };
                CC4A33220F8CB017000FC4A7 /* coredialogs.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = coredialogs.h; path = ../../../modules/gui/macosx/coredialogs.h; sourceTree = SOURCE_ROOT; };
-               CC4D67F51348F587003FCC5B /* quartztext.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = quartztext.c; path = ../../../modules/misc/text_renderer/quartztext.c; sourceTree = "<group>"; };
                CC4D67F71348F601003FCC5B /* darwin_specific.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = darwin_specific.c; path = ../../../src/posix/darwin_specific.c; sourceTree = "<group>"; };
                CC4ED9AD0ABE07C800CA4CC5 /* add_embedded.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = add_embedded.png; path = Resources/add_embedded.png; sourceTree = "<group>"; };
                CC4ED9AF0ABE07C800CA4CC5 /* repeat_embedded.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = repeat_embedded.png; path = Resources/repeat_embedded.png; sourceTree = "<group>"; };
                CC772DAC10E621C100675C9B /* VLCProgressPanel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = VLCProgressPanel.h; path = ../../../modules/gui/macosx_dialog_provider/VLCProgressPanel.h; sourceTree = SOURCE_ROOT; };
                CC772DAD10E621C100675C9B /* VLCProgressPanel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = VLCProgressPanel.m; path = ../../../modules/gui/macosx_dialog_provider/VLCProgressPanel.m; sourceTree = SOURCE_ROOT; };
                CC78DA4313DE056700E9603C /* topbar_background.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = topbar_background.png; path = Resources/mainwindow/topbar_background.png; sourceTree = "<group>"; };
+               CC79F66614014FC30015D89E /* opengl.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = opengl.h; path = ../../../modules/video_output/opengl.h; sourceTree = "<group>"; };
+               CC79F66714014FDC0015D89E /* quartztext.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = quartztext.c; path = ../../../modules/text_renderer/quartztext.c; sourceTree = "<group>"; };
                CC8062631021F8790021EB9A /* dsa_pub.pem */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = dsa_pub.pem; path = Resources/dsa_pub.pem; sourceTree = "<group>"; };
                CC84FB2C130083BB00816D38 /* BGHUDAppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = BGHUDAppKit.framework; path = ../../contrib/BGHUDAppKit/BGHUDAppKit.framework; sourceTree = SOURCE_ROOT; };
                CC962E2C0CC7992800A56695 /* WebKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = WebKit.framework; path = /System/Library/Frameworks/WebKit.framework; sourceTree = "<absolute>"; };
                CCC8957F0D9A8A61005AE59C /* OSX-specific source files */ = {
                        isa = PBXGroup;
                        children = (
-                               CC4D67F51348F587003FCC5B /* quartztext.c */,
+                               CC79F66714014FDC0015D89E /* quartztext.c */,
+                               CC79F66614014FC30015D89E /* opengl.h */,
                                CC6C01BB0DDF3F0700C7D754 /* opengl.c */,
                                CC4D67F71348F601003FCC5B /* darwin_specific.c */,
                                CC6C01BA0DDF3EEC00C7D754 /* auhal.c */,
index 27cf045..da335c8 100644 (file)
@@ -102,7 +102,7 @@ static AppleRemote *_o_sharedInstance = nil;
         }
         else if( OSX_LION )
         {
-            /* omg, keys from the future */
+            /* Lion cookies */
             msg_Dbg( VLCIntf, "using future AR cookies" );
             [cookieToButtonMapping setObject:[NSNumber numberWithInt:kRemoteButtonVolume_Plus]    forKey:@"33_31_30_21_20_2_"];
             [cookieToButtonMapping setObject:[NSNumber numberWithInt:kRemoteButtonVolume_Minus]   forKey:@"33_32_30_21_20_2_"];
@@ -120,7 +120,7 @@ static AppleRemote *_o_sharedInstance = nil;
         }
         else
         {
-            /* current Snow Leopard cookies */
+            /* 10.6.2+ Snow Leopard cookies */
             msg_Dbg( VLCIntf, "using Snow Leopard AR cookies" );
             [cookieToButtonMapping setObject:[NSNumber numberWithInt:kRemoteButtonVolume_Plus]    forKey:@"33_31_30_21_20_2_"];
             [cookieToButtonMapping setObject:[NSNumber numberWithInt:kRemoteButtonVolume_Minus]   forKey:@"33_32_30_21_20_2_"];
index 3e887d1..396f242 100644 (file)
@@ -70,6 +70,7 @@
     IBOutlet VLCFSPanel *o_fspanel;
 
     BOOL b_dark_interface;
+    BOOL b_nativeFullscreenMode;
     BOOL b_video_playback_enabled;
     int i_lastShownVolume;
     BOOL b_mute;
index 95a84cd..0ddd492 100644 (file)
@@ -107,6 +107,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
 {
     /* setup the styled interface */
     b_dark_interface = config_GetInt( VLCIntf, "macosx-interfacestyle" );
+    b_nativeFullscreenMode = config_GetInt( VLCIntf, "macosx-nativefullscreenmode" );
     i_lastShownVolume = -1;
 
     [o_play_btn setToolTip: _NS("Play/Pause")];
@@ -156,7 +157,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
         [o_volume_down_btn setImage: [NSImage imageNamed:@"volume-low"]];
         [o_volume_track_view setImage: [NSImage imageNamed:@"volume-slider-track"]];
         [o_volume_up_btn setImage: [NSImage imageNamed:@"volume-high"]];
-        if (OSX_LION)
+        if (OSX_LION && b_nativeFullscreenMode)
         {
             [o_effects_btn setImage: [NSImage imageNamed:@"effects-one-button"]];
             [o_effects_btn setAlternateImage: [NSImage imageNamed:@"effects-one-button-blue"]];
@@ -203,7 +204,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
         [o_volume_down_btn setImage: [NSImage imageNamed:@"volume-low_dark"]];
         [o_volume_track_view setImage: [NSImage imageNamed:@"volume-slider-track_dark"]];
         [o_volume_up_btn setImage: [NSImage imageNamed:@"volume-high_dark"]];
-        if (OSX_LION)
+        if (OSX_LION && b_nativeFullscreenMode)
         {
             [o_effects_btn setImage: [NSImage imageNamed:@"effects-one-button_dark"]];
             [o_effects_btn setAlternateImage: [NSImage imageNamed:@"effects-one-button-blue_dark"]];
@@ -236,7 +237,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
     [o_temp_view setAutoresizingMask:NSViewHeightSizable | NSViewWidthSizable];
     [o_dropzone_view setFrame: [o_playlist_table frame]];
     [o_left_split_view setFrame: [o_sidebar_view frame]];
-    if (OSX_LION)
+    if (OSX_LION && b_nativeFullscreenMode)
     {
         [self setCollectionBehavior: NSWindowCollectionBehaviorFullScreenPrimary];
         NSRect frame;
@@ -908,7 +909,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
 
 - (void)resizeWindow
 {
-    if ( !b_fullscreen && !(OSX_LION && [NSApp currentSystemPresentationOptions] == NSApplicationPresentationFullScreen) )
+    if ( !b_fullscreen && !(OSX_LION && [NSApp currentSystemPresentationOptions] == NSApplicationPresentationFullScreen && b_nativeFullscreenMode) )
     {
         NSPoint topleftbase;
         NSPoint topleftscreen;
index fd8fa15..97a2437 100644 (file)
@@ -109,6 +109,7 @@ struct intf_sys_t
     BOOL nib_coredialogs_loaded; /* CoreDialogs nibfile */
     BOOL nib_bookmarks_loaded;   /* Bookmarks nibfile */
     BOOL b_active_videoplayback;
+    BOOL b_nativeFullscreenMode;
 
     VLCMainWindow *o_mainwindow;            /* VLCMainWindow */
 
index 5461e98..64265cb 100644 (file)
@@ -305,6 +305,8 @@ static int InputEvent( vlc_object_t *p_this, const char *psz_var,
             break;
 
         case INPUT_EVENT_ABORT:
+            [[VLCMain sharedInstance] updateName];
+            [[VLCMain sharedInstance] updatePlaybackPosition];
             break;
 
         default:
@@ -597,6 +599,7 @@ static VLCMain *_o_sharedMainInstance = nil;
     [o_remote setDelegate: _o_sharedMainInstance];
 
     /* yeah, we are done */
+    b_nativeFullscreenMode = config_GetInt( p_intf, "macosx-nativefullscreenmode" );
     nib_main_loaded = TRUE;
 }
 
@@ -1242,7 +1245,7 @@ unsigned int CocoaKeyToVLC( unichar i_key )
     playlist_t * p_playlist = pl_Get( VLCIntf );
     BOOL b_fullscreen = var_GetBool( p_playlist, "fullscreen" );
 
-    if (OSX_LION)
+    if (OSX_LION && b_nativeFullscreenMode)
     {
         [o_mainwindow toggleFullScreen: self];
         if(b_fullscreen)
@@ -1334,6 +1337,7 @@ unsigned int CocoaKeyToVLC( unichar i_key )
     [self playbackStatusUpdated];
     [o_playlist playlistUpdated];
     [o_mainwindow updateWindow];
+    [o_mainwindow updateName];
 }
 
 - (void)updateRecordState: (BOOL)b_value
index 6a09341..a72060a 100644 (file)
@@ -91,6 +91,9 @@ void WindowClose  ( vout_window_t * );
 #define INTERFACE_STYLE_TEXT N_("Run VLC with dark or bright interface style")
 #define INTERFACE_STYLE_LONGTEXT N_("By default, VLC will use the dark interface style.")
 
+#define NATIVE_FULLSCREEN_MODE_ON_LION_TEXT N_("Use the native fullscreen mode on OS X Lion")
+#define NATIVE_FULLSCREEN_MODE_ON_LION_LONGTEXT N_("By default, VLC uses the native fullscreen mode on Mac OS X 10.7 and later. It can also use the custom mode known from previous Mac OS X releases.")
+
 vlc_module_begin ()
     set_description( N_("Mac OS X interface") )
     set_capability( "interface", 200 )
@@ -112,6 +115,7 @@ vlc_module_begin ()
              false )
     add_bool( "macosx-interfacestyle", true, INTERFACE_STYLE_TEXT, INTERFACE_STYLE_LONGTEXT,
              false )
+    add_bool( "macosx-nativefullscreenmode", true, NATIVE_FULLSCREEN_MODE_ON_LION_TEXT, NATIVE_FULLSCREEN_MODE_ON_LION_LONGTEXT, false )
     add_obsolete_bool( "macosx-stretch" ) /* since 1.2.0 */
     add_obsolete_bool( "macosx-background" ) /* since 1.2.0 */
 
index e2012ba..d920750 100644 (file)
@@ -98,6 +98,7 @@
     IBOutlet id o_intf_update_ckb;
     IBOutlet id o_intf_last_update_lbl;
     IBOutlet id o_intf_enableGrowl_ckb;
+    IBOutlet id o_intf_nativefullscreen_ckb;
 
     IBOutlet id o_osd_encoding_pop;
     IBOutlet id o_osd_encoding_txt;
index 1edee33..d8f9473 100644 (file)
@@ -107,6 +107,8 @@ static VLCSimplePrefs *_o_sharedInstance = nil;
 
     if (OSX_LION)
         [o_sprefs_win setCollectionBehavior: NSWindowCollectionBehaviorFullScreenAuxiliary];
+    else
+        [o_intf_nativefullscreen_ckb setEnabled:NO];
 
     /* setup useful stuff */
     o_hotkeysNonUseableKeys = [[NSArray arrayWithObjects: @"Command-c", @"Command-x", @"Command-v", @"Command-a", @"Command-," , @"Command-h", @"Command-Alt-h", @"Command-Shift-o", @"Command-o", @"Command-d", @"Command-n", @"Command-s", @"Command-z", @"Command-l", @"Command-r", @"Command-3", @"Command-m", @"Command-w", @"Command-Shift-w", @"Command-Shift-c", @"Command-Shift-p", @"Command-i", @"Command-e", @"Command-Shift-e", @"Command-b", @"Command-Shift-m", @"Command-Ctrl-m", @"Command-?", @"Command-Alt-?", nil] retain];
@@ -233,6 +235,7 @@ create_toolbar_item( NSString * o_itemIdent, NSString * o_name, NSString * o_des
     [o_intf_style_bright_bcell setTitle: _NS("Bright")];
     [o_intf_art_txt setStringValue: _NS("Album art download policy")];
     [o_intf_embedded_ckb setTitle: _NS("Show video within the main window")];
+    [o_intf_nativefullscreen_ckb setTitle: _NS("Use the native fullscreen mode on OS X Lion")];
     [o_intf_fspanel_ckb setTitle: _NS("Show Fullscreen Controller")];
     [o_intf_lang_txt setStringValue: _NS("Language")];
     [o_intf_network_box setTitle: _NS("Privacy / Network Interaction")];
@@ -428,6 +431,7 @@ static inline char * __config_GetLabel( vlc_object_t *p_this, const char *psz_na
     [self setupButton: o_intf_art_pop forIntList: "album-art"];
 
     [self setupButton: o_intf_fspanel_ckb forBoolValue: "macosx-fspanel"];
+    [self setupButton: o_intf_nativefullscreen_ckb forBoolValue: "macosx-nativefullscreenmode"];
     [self setupButton: o_intf_embedded_ckb forBoolValue: "embedded-video"];
        [self setupButton: o_intf_appleremote_ckb forBoolValue: "macosx-appleremote"];
        [self setupButton: o_intf_mediakeys_ckb forBoolValue: "macosx-mediakeys"];
@@ -778,6 +782,7 @@ static inline void save_module_list( intf_thread_t * p_intf, id object, const ch
                config_PutInt( p_intf, "macosx-appleremote", [o_intf_appleremote_ckb state] );
         config_PutInt( p_intf, "macosx-mediakeys", [o_intf_mediakeys_ckb state] );
         config_PutInt( p_intf, "macosx-interfacestyle", [o_intf_style_dark_bcell state] );
+        config_PutInt( p_intf, "macosx-nativefullscreenmode", [o_intf_nativefullscreen_ckb state] );
         if( [o_intf_enableGrowl_ckb state] == NSOnState )
         {
             tmpString = getString( "control" );