vlc/vlc-1.2 | branch: master | Felix Paul Kühne <[email protected]> | Fri Jan 6 15:55:08 2012 +0100| [d860092a88e83cc71f71e86f3cd65eb498d73d22] | committer: Jean-Baptiste Kempf
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: Jean-Baptiste Kempf <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc/vlc-1.2.git/?a=commit;h=d860092a88e83cc71f71e86f3cd65eb498d73d22 --- modules/gui/macosx/intf.m | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m index 5cb6b15..11d63ad 100644 --- a/modules/gui/macosx/intf.m +++ b/modules/gui/macosx/intf.m @@ -1,7 +1,7 @@ /***************************************************************************** * 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 <[email protected]> @@ -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 _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
