Commit d860092a authored by Felix Paul Kühne's avatar Felix Paul Kühne Committed by Jean-Baptiste Kempf

macosx: speed-up loading the open panel by loading its xib once VLC is...

macosx: speed-up loading the open panel by loading its xib once VLC is finished with launching instead of prior to showing the panel
(cherry picked from commit fbaafcaf8acc376a95e35a9ed9736034ec32ef3f)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 5d534c98
/*****************************************************************************
* intf.m: MacOS X interface module
*****************************************************************************
* Copyright (C) 2002-2011 VLC authors and VideoLAN
* Copyright (C) 2002-2012 VLC authors and VideoLAN
* $Id$
*
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
......@@ -639,6 +639,9 @@ static VLCMain *_o_sharedMainInstance = nil;
name:NSWorkspaceWillSleepNotification object:nil];
[[VLCMain sharedInstance] performSelectorOnMainThread:@selector(lookForCrashLog) withObject:nil waitUntilDone:NO];
/* we will need this, so let's load it here so the interface appears to be more responsive */
nib_open_loaded = [NSBundle loadNibNamed:@"Open" owner: NSApp];
}
- (void)initStrings
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment