]> git.sesse.net Git - vlc/blobdiff - modules/gui/macosx/about.m
ASF: help stupid compiler
[vlc] / modules / gui / macosx / about.m
index 30ad0cb70a900c606dc21cc04f77214018c9f524..e02ae55c97119f71ab1c7d7db43093ded61542fe 100644 (file)
@@ -1,7 +1,7 @@
 /*****************************************************************************
  * about.m: MacOS X About Panel
  *****************************************************************************
- * Copyright (C) 2001-2011 the VideoLAN team
+ * Copyright (C) 2001-2011 VLC authors and VideoLAN
  * $Id$
  *
  * Authors: Derk-Jan Hartman <thedj@users.sourceforge.net>
@@ -29,6 +29,7 @@
 #import "about.h"
 #import <vlc_intf_strings.h>
 #import <vlc_about.h>
+#import "CompatibilityFixes.h"
 
 #ifdef __x86_64__
 #define PLATFORM "Intel 64bit"
@@ -67,6 +68,12 @@ static VLAboutBox *_o_sharedInstance = nil;
     [super dealloc];
 }
 
+- (void)awakeFromNib
+{
+    if (OSX_LION)
+        [o_about_window setCollectionBehavior: NSWindowCollectionBehaviorFullScreenAuxiliary];
+}
+
 /*****************************************************************************
 * VLC About Window
 *****************************************************************************/