/**
* \file screen.C
- * Copyright 2002 the LyX Team
- * Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
*
- * \author John Levon <moz@compsoc.man.ac.uk>
+ * \author John Levon
+ *
+ * Full author contact details are available in file CREDITS
*
* Splash screen code added by Angus Leeming
*/
#include "screen.h"
#include "lyxtext.h"
+#include "lyxrc.h"
#include "lyxrow.h"
#include "BufferView.h"
#include "buffer.h"
SplashScreen::SplashScreen()
: text_(lyx_version ? lyx_version : "unknown")
{
+ if (!lyxrc.show_banner)
+ return;
+
string const file = LibFileSearch("images", "banner", "xpm");
if (file.empty())
return;