]> git.sesse.net Git - vlc/blobdiff - modules/gui/macosx/about.m
* Let's break the prefs again for OSX
[vlc] / modules / gui / macosx / about.m
index cf3af32fcbe12c6ba5ccbf7640ebd7f6328376b3..7dc1890d9584f44d7e81c4b39c7f07e40b2f9aee 100644 (file)
@@ -1,8 +1,8 @@
 /*****************************************************************************
  * about.m: MacOS X About Panel
  *****************************************************************************
- * Copyright (C) 2001-2003 VideoLAN
- * $Id: about.m,v 1.3 2003/09/20 19:37:53 hartman Exp $
+ * Copyright (C) 2001-2005 VideoLAN
+ * $Id$
  *
  * Authors: Derk-Jan Hartman <thedj@users.sourceforge.net>
  *
@@ -50,14 +50,17 @@ static VLAboutBox *_o_sharedInstance = nil;
     return _o_sharedInstance;
 }
 
-- (IBAction)showPanel:(id)sender
+- (void)showPanel
 {    
     if (!o_credits_path)
     {
         NSString *o_name;
         NSString *o_version;
         NSString *o_thanks_path;
-    
+        
+               /* Load the needed nib-file */
+               [NSBundle loadNibNamed:@"About" owner:self];
+               
         /* Get the info dictionary (Info.plist) */
         o_info_dict = [[NSBundle mainBundle] infoDictionary];